Procházet zdrojové kódy

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 před 5 roky
rodič
revize
629334f283
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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"