diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-02 10:43:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 10:43:43 +0200 |
commit | 86108679b39c9f04b638d47ec07c0345515b83a2 (patch) | |
tree | 375534deb59de4395866c3159c9c9b891f5aec25 /drivers | |
parent | 4b6e9f315739c4400e3c2d27cd72028779bce1e5 (diff) | |
parent | 1328208063de9154019c95b9eae3aaeac50b656b (diff) |
Merge pull request #47561 from szymonm-google/remove_debug_code
Removed debug code
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/vulkan/vulkan_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vulkan/vulkan_context.cpp b/drivers/vulkan/vulkan_context.cpp index 36db7c56f0..178110b9e6 100644 --- a/drivers/vulkan/vulkan_context.cpp +++ b/drivers/vulkan/vulkan_context.cpp @@ -991,7 +991,7 @@ Error VulkanContext::_initialize_queues(VkSurfaceKHR surface) { // If the format list includes just one entry of VK_FORMAT_UNDEFINED, // the surface has no preferred format. Otherwise, at least one // supported format will be returned. - if (true || (formatCount == 1 && surfFormats[0].format == VK_FORMAT_UNDEFINED)) { + if (formatCount == 1 && surfFormats[0].format == VK_FORMAT_UNDEFINED) { format = VK_FORMAT_B8G8R8A8_UNORM; } else { if (formatCount < 1) { |