diff options
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 /* |