aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNiklas Haas <[email protected]>2020-07-22 14:42:36 +0200
committerLenny Komow <[email protected]>2020-07-23 09:46:12 -0600
commita0f1f5149d91d9ea460c19a7bbd281a1c604c8e7 (patch)
tree0e8771e33bb942bb6fa2a0b0df27b1ccfdf6d297
parent83825d55c7d522931124696ecb07ed48f2693e5c (diff)
downloadVulkan-Headers-a0f1f5149d91d9ea460c19a7bbd281a1c604c8e7.tar.gz
Vulkan-Headers-a0f1f5149d91d9ea460c19a7bbd281a1c604c8e7.zip
Fix enum order for backwards compatibility
The new enum member introduced in 2a164e968 broke ABI with previous versions of vk_icd.h, resulting in a segfault on latest mesa (which does not yet have this commit in their vendored copy of vk_icd.h, thus breaking the order of enum members).
-rw-r--r--include/vulkan/vk_icd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h
index b5185a3..00858a4 100644
--- a/include/vulkan/vk_icd.h
+++ b/include/vulkan/vk_icd.h
@@ -85,13 +85,13 @@ typedef enum {
VK_ICD_WSI_PLATFORM_WIN32,
VK_ICD_WSI_PLATFORM_XCB,
VK_ICD_WSI_PLATFORM_XLIB,
- VK_ICD_WSI_PLATFORM_DIRECTFB,
VK_ICD_WSI_PLATFORM_ANDROID,
VK_ICD_WSI_PLATFORM_MACOS,
VK_ICD_WSI_PLATFORM_IOS,
VK_ICD_WSI_PLATFORM_DISPLAY,
VK_ICD_WSI_PLATFORM_HEADLESS,
VK_ICD_WSI_PLATFORM_METAL,
+ VK_ICD_WSI_PLATFORM_DIRECTFB,
} VkIcdWsiPlatform;
typedef struct {