aboutsummaryrefslogtreecommitdiff
path: root/render/pixman
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2022-12-01 04:41:43 -0500
committerAlexander Orzechowski <alex@ozal.ski>2022-12-01 04:41:43 -0500
commitdb0e962368244c3171a8f93466eda231dccf2bc7 (patch)
tree8ccc4ad097ce3ad4afa58ae5290c4bc2859caec3 /render/pixman
parentf103dc74d89c88a8e1865ce47843906b0aaa8380 (diff)
wlr_texture: Expose owning renderer
Diffstat (limited to 'render/pixman')
-rw-r--r--render/pixman/renderer.c4
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) {