From e713dfdfb8736cdacf25d8d40b1c811594eef9e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Apr 2014 11:50:13 +0300 Subject: Fix compilation warnings. --- src/resources/openglimagehelper.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/resources') 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 /* -- cgit v1.2.3-70-g09d2