diff --git a/src/SceneGraph/Vulkan/VKDeviceAttribute.cpp b/src/SceneGraph/Vulkan/VKDeviceAttribute.cpp index c7100cc8..f6d22827 100644 --- a/src/SceneGraph/Vulkan/VKDeviceAttribute.cpp +++ b/src/SceneGraph/Vulkan/VKDeviceAttribute.cpp @@ -96,7 +96,8 @@ void GPUDeviceAttribute::Refresh() for(uint32_t i=0;iformat>surface_format.format) + if(sf->format>surface_format.format + &&sf->colorSpace==VK_COLOR_SPACE_SRGB_NONLINEAR_KHR) surface_format=*sf; ++sf;