hello-tool: use correct name for colour space constant
apparently the name of this constant changed at some point?...
This commit is contained in:
parent
b13bbdd6f0
commit
1238ae4914
@ -200,7 +200,7 @@ main (void)
|
|||||||
? { VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR }
|
? { VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR }
|
||||||
: surface_formats[0];
|
: surface_formats[0];
|
||||||
#endif
|
#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;
|
VkPresentModeKHR present_mode = VK_PRESENT_MODE_FIFO_KHR;
|
||||||
VkExtent2D present_extent {
|
VkExtent2D present_extent {
|
||||||
.width = util::limit (
|
.width = util::limit (
|
||||||
|
Loading…
Reference in New Issue
Block a user