summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/openglimagehelper.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index ae67904f9..dc0218d65 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -245,11 +245,12 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage,
0, GL_RGBA, GL_UNSIGNED_BYTE, tmpImage->pixels);
#ifdef DEBUG_OPENGL
- if (mglLabelObject)
- {
- const char *const text = "image text";
+// disabled for now, because debugger cant show it
+// if (mglLabelObject)
+// {
+// const char *const text = "image text";
// mglLabelObject(GL_TEXTURE, texture, strlen(text), text);
- }
+// }
#endif
/*