mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 00:23:27 +00:00
Enum constant in boolean context
error: enum constant in boolean context [-Werror=int-in-bool-context]
This commit is contained in:
parent
24c6ee9f56
commit
d87526b391
@ -1752,7 +1752,7 @@ Error VulkanContext::prepare_buffers() {
|
||||
print_verbose("Vulkan: Early suboptimal swapchain.");
|
||||
break;
|
||||
} else if (err != VK_SUCCESS) {
|
||||
ERR_BREAK(ERR_CANT_CREATE);
|
||||
ERR_BREAK_MSG(err != VK_SUCCESS, "Vulkan: Did not create swapchain successfully.");
|
||||
} else {
|
||||
w->semaphore_acquired = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user