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 authored and sorascode committed Jul 22, 2024
1 parent ffee0bb commit d25e921
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 d25e921

Please sign in to comment.