diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-23 22:01:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-23 22:01:44 +0300 |
commit | 3c404128c4669a1f4f190e20a89553677717fc50 (patch) | |
tree | 2db4e5031089c800c4e00fd6244e578f44a7c910 /src/resources/openglimagehelper.h | |
parent | 89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff) | |
download | manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2 manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz manaverse-3c404128c4669a1f4f190e20a89553677717fc50.zip |
Add missing comments into defines.
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r-- | src/resources/openglimagehelper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h index 99929bb02..5f6e0b8aa 100644 --- a/src/resources/openglimagehelper.h +++ b/src/resources/openglimagehelper.h @@ -30,19 +30,19 @@ #ifndef GL_TEXTURE_RECTANGLE_ARB #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 -#endif +#endif // GL_TEXTURE_RECTANGLE_ARB #include "resources/imagehelper.h" #ifdef ANDROID #include <GLES/gl.h> #define GL_RGBA8 GL_RGBA8_OES -#else +#else // ANDROID #ifndef USE_SDL2 #define GL_GLEXT_PROTOTYPES 1 -#endif +#endif // USE_SDL2 #include <SDL_opengl.h> -#endif +#endif // ANDROID class Dye; class Image; @@ -155,5 +155,5 @@ class OpenGLImageHelper final : public ImageHelper static bool mUseTextureSampler; }; -#endif +#endif // USE_OPENGL #endif // RESOURCES_OPENGLIMAGEHELPER_H |