aboutsummaryrefslogtreecommitdiff
path: root/render/pixman
diff options
context:
space:
mode:
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) {