Browse Source

Fixed bug 5543 - Wayland: Fix waylandvideo.h warnings

wahil1976

This patch fixes the warnings seen when compiling the Wayland backend. This will also be required in the future to avoid issues with compilation.
Sam Lantinga 4 years ago
parent
commit
629334f283
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/video/wayland/SDL_waylandvideo.h

+ 1 - 0
src/video/wayland/SDL_waylandvideo.h

@@ -35,6 +35,7 @@
 */
 
 #define MESA_EGL_NO_X11_HEADERS
+#define EGL_NO_X11
 #include <EGL/egl.h>
 #include "wayland-util.h"