Parcourir la 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 il y a 5 ans
Parent
commit
629334f283
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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"