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/vulkan/texture.c | |
parent | f103dc74d89c88a8e1865ce47843906b0aaa8380 (diff) |
wlr_texture: Expose owning renderer
Diffstat (limited to 'render/vulkan/texture.c')
-rw-r--r-- | render/vulkan/texture.c | 3 |
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; |