Ver Fonte

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 há 4 anos atrás
pai
commit
629334f283
1 ficheiros alterados com 1 adições e 0 exclusões
  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 MESA_EGL_NO_X11_HEADERS
+#define EGL_NO_X11
 #include <EGL/egl.h>
 #include <EGL/egl.h>
 #include "wayland-util.h"
 #include "wayland-util.h"