From 1238ae4914f3d55eae1bee565447944e6b5fa03f Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 7 Sep 2017 15:54:50 +1000 Subject: [PATCH] hello-tool: use correct name for colour space constant apparently the name of this constant changed at some point?... --- tools/hello.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hello.cpp b/tools/hello.cpp index 5d11eb7..5642fe4 100644 --- a/tools/hello.cpp +++ b/tools/hello.cpp @@ -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 (