1
0
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:
bruvzg
2020-07-13 19:24:04 +03:00
parent db1eb909fe
commit 996910b627
7 changed files with 46 additions and 14 deletions

View File

@@ -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;
}