summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/surfacegraphics.cpp')
-rw-r--r--src/render/surfacegraphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/surfacegraphics.cpp b/src/render/surfacegraphics.cpp
index d3083dd5c..e6fc33298 100644
--- a/src/render/surfacegraphics.cpp
+++ b/src/render/surfacegraphics.cpp
@@ -23,7 +23,10 @@
#include "render/surfacegraphics.h"
#include "resources/image.h"
+
+#ifndef USE_SDL2
#include "resources/surfaceimagehelper.h"
+#endif // USE_SDL2
#include "debug.h"