Skip to content

Commit 0818408

Browse files
committed
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
1 parent 92e51fc commit 0818408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/linuxbsd/wayland/display_server_wayland.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,12 +1479,12 @@ DisplayServerWayland::DisplayServerWayland(const String &p_rendering_driver, Win
14791479
driver_found = true;
14801480
}
14811481
}
1482+
#endif // GLES3_ENABLED
14821483

14831484
if (!driver_found) {
14841485
r_error = ERR_UNAVAILABLE;
14851486
ERR_FAIL_MSG("Video driver not found.");
14861487
}
1487-
#endif // GLES3_ENABLED
14881488

14891489
cursor_set_shape(CURSOR_BUSY);
14901490

0 commit comments

Comments
 (0)