summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/anv_x11.c')
-rw-r--r--src/vulkan/anv_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_x11.c b/src/vulkan/anv_x11.c
index 9ffce8d8cbf..cc11a5fc762 100644
--- a/src/vulkan/anv_x11.c
+++ b/src/vulkan/anv_x11.c
@@ -121,6 +121,7 @@ VkResult anv_CreateSwapChainWSI(
&(struct anv_image_create_info) {
.force_tile_mode = true,
.tile_mode = XMAJOR,
+ .stride = 0,
.vk_info =
&(VkImageCreateInfo) {
.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO,