diff options
-rw-r--r-- | src/render/openglx/mglxinit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp index d83872871..1756f1fd0 100644 --- a/src/render/openglx/mglxinit.cpp +++ b/src/render/openglx/mglxinit.cpp @@ -26,9 +26,9 @@ #include "render/openglx/mglx.h" -#ifdef USE_SDL2 +#if defined(USE_SDL2) && defined(__SWITCH__) #include <SDL_video.h> -#endif +#endif // defined(USE_SDL2) && defined(__SWITCH__) #include "debug.h" |