Merge pull request #98127 from darksylinc/matias-wayland-build-error

Fix wrong Wayland path if building with opengl3=no
This commit is contained in:
Thaddeus Crews 2024-10-16 14:16:02 -05:00
commit 30a2a800dd
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -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);