aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan
diff options
context:
space:
mode:
Diffstat (limited to 'render/vulkan')
-rw-r--r--render/vulkan/texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/vulkan/texture.c b/render/vulkan/texture.c
index d1431556..b03cec4a 100644
--- a/render/vulkan/texture.c
+++ b/render/vulkan/texture.c
@@ -252,7 +252,8 @@ static struct wlr_vk_texture *vulkan_texture_create(
wlr_log_errno(WLR_ERROR, "Allocation failed");
return NULL;
}
- wlr_texture_init(&texture->wlr_texture, &texture_impl, width, height);
+ wlr_texture_init(&texture->wlr_texture, &renderer->wlr_renderer,
+ &texture_impl, width, height);
texture->renderer = renderer;
wl_list_insert(&renderer->textures, &texture->link);
return texture;