summaryrefslogtreecommitdiff
path: root/src/freedreno/vulkan/tu_wsi_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/vulkan/tu_wsi_x11.c')
-rw-r--r--src/freedreno/vulkan/tu_wsi_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_wsi_x11.c b/src/freedreno/vulkan/tu_wsi_x11.c
index 180e504a043..e6ce75e7f85 100644
--- a/src/freedreno/vulkan/tu_wsi_x11.c
+++ b/src/freedreno/vulkan/tu_wsi_x11.c
@@ -75,7 +75,7 @@ VkResult tu_CreateXcbSurfaceKHR(
if (pAllocator)
alloc = pAllocator;
else
- alloc = &instance->alloc;
+ alloc = &instance->vk.alloc;
return wsi_create_xcb_surface(alloc, pCreateInfo, pSurface);
}
@@ -94,7 +94,7 @@ VkResult tu_CreateXlibSurfaceKHR(
if (pAllocator)
alloc = pAllocator;
else
- alloc = &instance->alloc;
+ alloc = &instance->vk.alloc;
return wsi_create_xlib_surface(alloc, pCreateInfo, pSurface);
}