Skip to content

Commit

Permalink
X11: Fix creating RenderingDevice after godotengine#93706
Browse files Browse the repository at this point in the history
The line was removed by mistake.
  • Loading branch information
akien-mga committed Jun 29, 2024
1 parent d6385d7 commit 25de53e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/linuxbsd/x11/display_server_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 25de53e

Please sign in to comment.