From d25e92151d60952915ef504383a99e19f7ef89ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 29 Jun 2024 14:03:18 +0200 Subject: [PATCH] X11: Fix creating RenderingDevice after #93706 The line was removed by mistake. --- platform/linuxbsd/x11/display_server_x11.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp index 49f202883d9e..edf3a40ccb4e 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -6261,6 +6261,7 @@ DisplayServerX11::DisplayServerX11(const String &p_rendering_driver, WindowMode #if defined(RD_ENABLED) if (rendering_context) { + rendering_device = memnew(RenderingDevice); if (rendering_device->initialize(rendering_context, MAIN_WINDOW_ID) != OK) { memdelete(rendering_device); rendering_device = nullptr;