diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-15 18:57:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-15 18:58:08 +0300 |
commit | 1ffeeb5d960ecf45ff285b8045265bb38de86b18 (patch) | |
tree | f3e0a40a39cf0b00376d0201eee53e13e7592c5c /src/resources/image.h | |
parent | 559bd8c3275b05cf061813094a880223f343cff5 (diff) | |
download | manaplus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.tar.gz manaplus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.tar.bz2 manaplus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.tar.xz manaplus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.zip |
Add safeopenglimagehelper for using in safe opengl mode only.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 7 |
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) |