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
This commit is contained in:
parent
92e51fca72
commit
0818408db5
1 changed files with 1 additions and 1 deletions
|
@ -1479,12 +1479,12 @@ DisplayServerWayland::DisplayServerWayland(const String &p_rendering_driver, Win
|
||||||
driver_found = true;
|
driver_found = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // GLES3_ENABLED
|
||||||
|
|
||||||
if (!driver_found) {
|
if (!driver_found) {
|
||||||
r_error = ERR_UNAVAILABLE;
|
r_error = ERR_UNAVAILABLE;
|
||||||
ERR_FAIL_MSG("Video driver not found.");
|
ERR_FAIL_MSG("Video driver not found.");
|
||||||
}
|
}
|
||||||
#endif // GLES3_ENABLED
|
|
||||||
|
|
||||||
cursor_set_shape(CURSOR_BUSY);
|
cursor_set_shape(CURSOR_BUSY);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue