You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix Wayland build with OpenGL disabled.
This commit is contained in:
@@ -1879,7 +1879,7 @@ DisplayServer *DisplayServerWayland::create_func(const String &p_rendering_drive
|
||||
}
|
||||
|
||||
DisplayServerWayland::DisplayServerWayland(const String &p_rendering_driver, WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i &p_resolution, Context p_context, int64_t p_parent_window, Error &r_error) {
|
||||
#ifdef GLES3_ENABLED
|
||||
#if defined(GLES3_ENABLED) || defined(DBUS_ENABLED)
|
||||
#ifdef SOWRAP_ENABLED
|
||||
#ifdef DEBUG_ENABLED
|
||||
int dylibloader_verbose = 1;
|
||||
@@ -1887,7 +1887,7 @@ DisplayServerWayland::DisplayServerWayland(const String &p_rendering_driver, Win
|
||||
int dylibloader_verbose = 0;
|
||||
#endif // DEBUG_ENABLED
|
||||
#endif // SOWRAP_ENABLED
|
||||
#endif // GLES3_ENABLED
|
||||
#endif // defined(GLES3_ENABLED) || defined(DBUS_ENABLED)
|
||||
|
||||
r_error = ERR_UNAVAILABLE;
|
||||
context = p_context;
|
||||
|
||||
Reference in New Issue
Block a user