Merge branch 'ebassi/issue-3522' into 'master'

Fix the Vulkan header check for VK_RESULT_RANGE_SIZE

Closes #3522

See merge request GNOME/gtk!3009
This commit is contained in:
Matthias Clasen 2020-12-29 16:36:09 +00:00
commit 1758f88492

View File

@ -225,7 +225,7 @@ gdk_vulkan_strerror (VkResult result)
case VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT: case VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT:
return "A requested pipeline creation would have required compilation, but the application requested compilation to not be performed."; return "A requested pipeline creation would have required compilation, but the application requested compilation to not be performed.";
#endif #endif
#if VK_HEADER_VERSION < 142 #if VK_HEADER_VERSION < 140
case VK_RESULT_RANGE_SIZE: case VK_RESULT_RANGE_SIZE:
#endif #endif
case VK_RESULT_MAX_ENUM: case VK_RESULT_MAX_ENUM: