Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
629334f283
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"