From 55d43e6dfd890df0ce7b26f6c9cb5692e2c136b1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Aug 2016 23:08:12 +0300 Subject: Fix some style issues. --- src/resources/openglimagehelper.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/resources/openglimagehelper.cpp') diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index c67ec8a1c..ef0ef063e 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -363,12 +363,14 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage, 0, GL_RGBA, GL_UNSIGNED_BYTE, tmpImage->pixels); #ifdef DEBUG_OPENGL -// disabled for now, because debugger can't show it -// if (isGLNotNull(mglLabelObject)) -// { -// const char *const text = "image text"; -// mglLabelObject(GL_TEXTURE, texture, strlen(text), text); -// } +/* + disabled for now, because debugger can't show it + if (isGLNotNull(mglLabelObject)) + { + const char *const text = "image text"; + mglLabelObject(GL_TEXTURE, texture, strlen(text), text); + } +*/ #endif /* -- cgit v1.2.3-70-g09d2