Skip to content

Commit 7ac73a6

Browse files
committed
Merge pull request #110294 from bruvzg/wl_no_gl
Fix Wayland build with OpenGL disabled.
2 parents 4102fff + 76433b0 commit 7ac73a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/linuxbsd/wayland/display_server_wayland.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,15 +1879,15 @@ DisplayServer *DisplayServerWayland::create_func(const String &p_rendering_drive
18791879
}
18801880

18811881
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) {
1882-
#ifdef GLES3_ENABLED
1882+
#if defined(GLES3_ENABLED) || defined(DBUS_ENABLED)
18831883
#ifdef SOWRAP_ENABLED
18841884
#ifdef DEBUG_ENABLED
18851885
int dylibloader_verbose = 1;
18861886
#else
18871887
int dylibloader_verbose = 0;
18881888
#endif // DEBUG_ENABLED
18891889
#endif // SOWRAP_ENABLED
1890-
#endif // GLES3_ENABLED
1890+
#endif // defined(GLES3_ENABLED) || defined(DBUS_ENABLED)
18911891

18921892
r_error = ERR_UNAVAILABLE;
18931893
context = p_context;

0 commit comments

Comments
 (0)