mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Merge pull request #110294 from bruvzg/wl_no_gl
Fix Wayland build with OpenGL disabled.
This commit is contained in:
commit
7ac73a6142
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue