From 1ffeeb5d960ecf45ff285b8045265bb38de86b18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Dec 2015 18:57:03 +0300 Subject: Add safeopenglimagehelper for using in safe opengl mode only. --- src/resources/image.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/resources/image.h') 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) -- cgit v1.2.3-70-g09d2