You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Add error messages if Vulkan init failed, prevent Vulkan context freeing uninitialized device and instance.
This commit is contained in:
@@ -1298,7 +1298,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!display_server) {
|
||||
if (!display_server || err != OK) {
|
||||
ERR_PRINT("Unable to create DisplayServer, all display drivers failed.");
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user