diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-18 23:08:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-18 23:08:12 +0300 |
commit | 55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1 (patch) | |
tree | a105b3cc7277170e3d51b70d362540bae4483d5f /src/resources/safeopenglimagehelper.cpp | |
parent | f1558113c591ccdca3596b900c4cbcfc56644860 (diff) | |
download | manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.gz manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.bz2 manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.tar.xz manaplus-55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1.zip |
Fix some style issues.
Diffstat (limited to 'src/resources/safeopenglimagehelper.cpp')
-rw-r--r-- | src/resources/safeopenglimagehelper.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/resources/safeopenglimagehelper.cpp b/src/resources/safeopenglimagehelper.cpp index 8376ae0c8..f43351d7c 100644 --- a/src/resources/safeopenglimagehelper.cpp +++ b/src/resources/safeopenglimagehelper.cpp @@ -360,12 +360,14 @@ Image *SafeOpenGLImageHelper::glLoad(SDL_Surface *tmpImage, 0, GL_RGBA, GL_UNSIGNED_BYTE, tmpImage->pixels); #ifdef DEBUG_OPENGL -// disabled for now, because debugger can't show it -// if (isGLNotNull(mglLabelObject)) -// { -// const char *const text = "image text"; -// mglLabelObject(GL_TEXTURE, texture, strlen(text), text); -// } +/* + disabled for now, because debugger can't show it + if (isGLNotNull(mglLabelObject)) + { + const char *const text = "image text"; + mglLabelObject(GL_TEXTURE, texture, strlen(text), text); + } +*/ #endif /* |