diff options
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r-- | src/resources/openglimagehelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h index e1a6d48cc..e5c0cab5e 100644 --- a/src/resources/openglimagehelper.h +++ b/src/resources/openglimagehelper.h @@ -26,16 +26,15 @@ #include "localconsts.h" #include "main.h" +#ifdef USE_OPENGL #include "utils/stringvector.h" #include "resources/imagehelper.h" #include <SDL.h> -#ifdef USE_OPENGL #define GL_GLEXT_PROTOTYPES 1 #include <SDL_opengl.h> -#endif class Dye; class Image; @@ -125,3 +124,4 @@ class OpenGLImageHelper final : public ImageHelper }; #endif +#endif |