summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-01 04:39:59 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-01 04:39:59 +0300
commit047bf537515ae5d85f3c3a19c64daf6a8ad07294 (patch)
treea1ae98e3724dd4d21517e9227fb95e47ed2f1a8e
parentad44553cbf58975311d2f84a99284dfa027229c8 (diff)
downloadplus-047bf537515ae5d85f3c3a19c64daf6a8ad07294.tar.gz
plus-047bf537515ae5d85f3c3a19c64daf6a8ad07294.tar.bz2
plus-047bf537515ae5d85f3c3a19c64daf6a8ad07294.tar.xz
plus-047bf537515ae5d85f3c3a19c64daf6a8ad07294.zip
Remove extra include from mglxinit.cpp
-rw-r--r--src/render/openglx/mglxinit.cpp4
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"