wsi: Fix windows build issues
diff --git a/demos/cube.c b/demos/cube.c
index 851ef6b..5628c47 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -2200,16 +2200,21 @@
"vkCreateInstance Failure");
}
if (!platformSurfaceExtFound) {
- ERR_EXIT("vkEnumerateInstanceExtensionProperties failed to find the "
#ifdef _WIN32
+ ERR_EXIT("vkEnumerateInstanceExtensionProperties failed to find the "
VK_KHR_WIN32_SURFACE_EXTENSION_NAME" extension.\n\nDo you have a compatible "
-#else // _WIN32
- VK_KHR_XCB_SURFACE_EXTENSION_NAME" extension.\n\nDo you have a compatible "
-#endif // _WIN32
"Vulkan installable client driver (ICD) installed?\nPlease "
"look at the Getting Started guide for additional "
"information.\n",
"vkCreateInstance Failure");
+#else // _WIN32
+ ERR_EXIT("vkEnumerateInstanceExtensionProperties failed to find the "
+ VK_KHR_XCB_SURFACE_EXTENSION_NAME" extension.\n\nDo you have a compatible "
+ "Vulkan installable client driver (ICD) installed?\nPlease "
+ "look at the Getting Started guide for additional "
+ "information.\n",
+ "vkCreateInstance Failure");
+#endif // _WIN32
}
const VkApplicationInfo app = {
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO,