Skip to content

Commit 30a2a80

Browse files
committed
Merge pull request #98127 from darksylinc/matias-wayland-build-error
Fix wrong Wayland path if building with opengl3=no
2 parents 6ccff9b + 0818408 commit 30a2a80

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)