diff options
author | Matias N. Goldberg <dark_sylinc@yahoo.com.ar> | 2024-10-12 20:20:12 -0300 |
---|---|---|
committer | Matias N. Goldberg <dark_sylinc@yahoo.com.ar> | 2024-10-12 20:20:12 -0300 |
commit | 0818408db543be5634f3b5fc87cdec104d69863a (patch) | |
tree | 82a12b67ab4d3c1216af6220cf59d2e58306086f /platform | |
parent | 92e51fca7247c932f95a1662aefc28aca96e8de6 (diff) | |
download | redot-engine-0818408db543be5634f3b5fc87cdec104d69863a.tar.gz |
Fix wrong Wayland path if building with opengl3=no
Godot checks if there's Vulkan or GLES3 support.
If no support is found, it shows an error message.
However the code for this error message is left out when building with
opengl3=no
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linuxbsd/wayland/display_server_wayland.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/wayland/display_server_wayland.cpp b/platform/linuxbsd/wayland/display_server_wayland.cpp index 3fbbc263a0..71c721ca1d 100644 --- a/platform/linuxbsd/wayland/display_server_wayland.cpp +++ b/platform/linuxbsd/wayland/display_server_wayland.cpp @@ -1479,12 +1479,12 @@ DisplayServerWayland::DisplayServerWayland(const String &p_rendering_driver, Win driver_found = true; } } +#endif // GLES3_ENABLED if (!driver_found) { r_error = ERR_UNAVAILABLE; ERR_FAIL_MSG("Video driver not found."); } -#endif // GLES3_ENABLED cursor_set_shape(CURSOR_BUSY); |