diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2022-12-01 04:41:43 -0500 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-12-01 04:41:43 -0500 |
commit | db0e962368244c3171a8f93466eda231dccf2bc7 (patch) | |
tree | 8ccc4ad097ce3ad4afa58ae5290c4bc2859caec3 /render/pixman/renderer.c | |
parent | f103dc74d89c88a8e1865ce47843906b0aaa8380 (diff) |
wlr_texture: Expose owning renderer
Diffstat (limited to 'render/pixman/renderer.c')
-rw-r--r-- | render/pixman/renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/pixman/renderer.c b/render/pixman/renderer.c index b58ee1b4..490d99a8 100644 --- a/render/pixman/renderer.c +++ b/render/pixman/renderer.c @@ -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) { |