diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-08 11:50:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-08 11:50:13 +0300 |
commit | e713dfdfb8736cdacf25d8d40b1c811594eef9e9 (patch) | |
tree | 521c00232bbd6c51b8a4861ecec6bdd495e3fe10 /src/resources | |
parent | 92700d442b0897db44818bdd54735a8428b90843 (diff) | |
download | manaverse-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.cpp | 9 |
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 /* |