summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 8fb13c804..016f2c4ab 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -75,11 +75,11 @@
#include "resources/mstack.h"
-#include <SDL_video.h>
-
#ifdef USE_SDL2
#include <SDL_render.h>
-#endif
+#else // USE_SDL2
+#include <SDL_video.h>
+#endif // USE_SDL2
#include "localconsts.h"