mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-22 01:40:43 -05:00
wlr_texture: Expose owning renderer
This commit is contained in:
parent
f103dc74d8
commit
db0e962368
7 changed files with 14 additions and 6 deletions
|
|
@ -354,8 +354,8 @@ static struct wlr_pixman_texture *pixman_texture_create(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
wlr_texture_init(&texture->wlr_texture, &texture_impl, width, height);
|
||||
texture->renderer = renderer;
|
||||
wlr_texture_init(&texture->wlr_texture, &renderer->wlr_renderer,
|
||||
&texture_impl, width, height);
|
||||
|
||||
texture->format_info = drm_get_pixel_format_info(drm_format);
|
||||
if (!texture->format_info) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue