diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index 262d839f7..ae67904f9 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -244,6 +244,14 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage, tmpImage->w, tmpImage->h, 0, GL_RGBA, GL_UNSIGNED_BYTE, tmpImage->pixels); +#ifdef DEBUG_OPENGL + if (mglLabelObject) + { + const char *const text = "image text"; +// mglLabelObject(GL_TEXTURE, texture, strlen(text), text); + } +#endif + /* GLint compressed; glGetTexLevelParameteriv(mTextureType, 0, |