hello-tool: use correct name for colour space constant

apparently the name of this constant changed at some point?...
This commit is contained in:
Danny Robson 2017-09-07 15:54:50 +10:00
parent b13bbdd6f0
commit 1238ae4914

View File

@ -200,7 +200,7 @@ main (void)
? { VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR }
: surface_formats[0];
#endif
VkSurfaceFormatKHR surface_format { VK_FORMAT_B8G8R8A8_UNORM, VK_COLORSPACE_SRGB_NONLINEAR_KHR };
VkSurfaceFormatKHR surface_format { VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR };
VkPresentModeKHR present_mode = VK_PRESENT_MODE_FIFO_KHR;
VkExtent2D present_extent {
.width = util::limit (