Merge pull request #47561 from szymonm-google/remove_debug_code
Removed debug code
This commit is contained in:
commit
86108679b3
|
@ -991,7 +991,7 @@ Error VulkanContext::_initialize_queues(VkSurfaceKHR surface) {
|
||||||
// If the format list includes just one entry of VK_FORMAT_UNDEFINED,
|
// If the format list includes just one entry of VK_FORMAT_UNDEFINED,
|
||||||
// the surface has no preferred format. Otherwise, at least one
|
// the surface has no preferred format. Otherwise, at least one
|
||||||
// supported format will be returned.
|
// 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;
|
format = VK_FORMAT_B8G8R8A8_UNORM;
|
||||||
} else {
|
} else {
|
||||||
if (formatCount < 1) {
|
if (formatCount < 1) {
|
||||||
|
|
Loading…
Reference in New Issue