mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Removed debug code
This commit is contained in:
parent
4b6e9f3157
commit
1328208063
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user