summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 943f5b55f..cd615c030 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -26,8 +26,9 @@
#include "logger.h"
-#include "resources/imagehelper.h"
+#ifdef USE_OPENGL
#include "resources/openglimagehelper.h"
+#endif
#include "resources/sdlimagehelper.h"
#include "resources/subimage.h"