diff options
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_wsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index c504658c526..669eacc93cf 100644 --- a/src/intel/vulkan/anv_wsi.c +++ b/src/intel/vulkan/anv_wsi.c @@ -200,7 +200,7 @@ x11_anv_wsi_image_create(VkDevice device_h, memory = anv_device_memory_from_handle(memory_h); memory->bo.is_winsys_bo = true; - anv_BindImageMemory(VK_NULL_HANDLE, image_h, memory_h, 0); + anv_BindImageMemory(device_h, image_h, memory_h, 0); struct anv_surface *surface = &image->color_surface; assert(surface->isl.tiling == ISL_TILING_X); |