X11: Fix creating RenderingDevice after #93706
The line was removed by mistake.
This commit is contained in:
parent
d6385d7509
commit
25de53e147
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue