mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
Merge pull request #97006 from Gaktan/project_dialog_vulkan_crash
Fix Vulkan Instance initialized twice in ProjectDialog
This commit is contained in:
commit
b10338132e
@ -1224,6 +1224,11 @@ void DisplayServer::_input_set_custom_mouse_cursor_func(const Ref<Resource> &p_i
|
||||
|
||||
bool DisplayServer::can_create_rendering_device() {
|
||||
#if defined(RD_ENABLED)
|
||||
RenderingDevice *device = RenderingDevice::get_singleton();
|
||||
if (device) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Error err;
|
||||
RenderingContextDriver *rcd = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user