summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 804df4c2e..0740864b7 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -55,7 +55,6 @@ class Image notfinal : public Resource
friend class CompoundSprite;
friend class Graphics;
friend class ImageHelper;
- friend class OpenGLImageHelper;
friend class SDLGraphics;
friend class SDLImageHelper;
friend class SurfaceGraphics;
@@ -73,7 +72,11 @@ class Image notfinal : public Resource
friend class NormalOpenGLGraphics;
friend class NullOpenGLGraphics;
friend class SafeOpenGLGraphics;
-#endif
+ friend class OpenGLImageHelper;
+#ifndef ANDROID
+ friend class SafeOpenGLImageHelper;
+#endif // ANDROID
+#endif // USE_OPENGL
public:
A_DELETE_COPY(Image)