diff --git a/servers/display_server.cpp b/servers/display_server.cpp index 12456fc8282..86b4016da8b 100644 --- a/servers/display_server.cpp +++ b/servers/display_server.cpp @@ -1224,6 +1224,11 @@ void DisplayServer::_input_set_custom_mouse_cursor_func(const Ref &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;