summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-08 11:50:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-08 11:50:13 +0300
commite713dfdfb8736cdacf25d8d40b1c811594eef9e9 (patch)
tree521c00232bbd6c51b8a4861ecec6bdd495e3fe10 /src/resources
parent92700d442b0897db44818bdd54735a8428b90843 (diff)
downloadmanaverse-e713dfdfb8736cdacf25d8d40b1c811594eef9e9.tar.gz
manaverse-e713dfdfb8736cdacf25d8d40b1c811594eef9e9.tar.bz2
manaverse-e713dfdfb8736cdacf25d8d40b1c811594eef9e9.tar.xz
manaverse-e713dfdfb8736cdacf25d8d40b1c811594eef9e9.zip
Fix compilation warnings.
Diffstat (limited to 'src/resources')
-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
/*