Browse Source

Enable build config wayland=yes use_sowrap=no

-wayland-egl.h was missing if opengl3=yes (default)

Signed-off-by: Joel Winarske <[email protected]>
Joel Winarske 1 year ago
parent
commit
f06dd46eb7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      platform/linuxbsd/wayland/wayland_thread.h

+ 3 - 0
platform/linuxbsd/wayland/wayland_thread.h

@@ -43,6 +43,9 @@
 #else
 #include <wayland-client-core.h>
 #include <wayland-cursor.h>
+#ifdef GLES3_ENABLED
+#include <wayland-egl.h>
+#endif
 #include <xkbcommon/xkbcommon.h>
 #endif // SOWRAP_ENABLED