mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
vulkan: only debug print that initialization failed if graphics debug mode is enabled.
This commit is contained in:
@@ -3356,7 +3356,8 @@ love::graphics::Graphics *createInstance()
|
||||
}
|
||||
catch (love::Exception &e)
|
||||
{
|
||||
printf("Cannot create Vulkan renderer: %s\n", e.what());
|
||||
if (isDebugEnabled())
|
||||
printf("Cannot create Vulkan renderer: %s\n", e.what());
|
||||
}
|
||||
|
||||
return instance;
|
||||
|
||||
Reference in New Issue
Block a user