diff --git a/wrap/qt/checkGLError.h b/wrap/qt/checkGLError.h index f0123aa3..85ecbbfb 100755 --- a/wrap/qt/checkGLError.h +++ b/wrap/qt/checkGLError.h @@ -43,7 +43,7 @@ class checkGLError return message; } - static void qDebug(const char* m) { + static void debugInfo(const char* m) { QString message=makeString(m); if(message.isEmpty()) return; ::qDebug("%s",qPrintable(message)); diff --git a/wrap/qt/gl_label.h b/wrap/qt/gl_label.h index 80c484f3..86c06764 100755 --- a/wrap/qt/gl_label.h +++ b/wrap/qt/gl_label.h @@ -76,7 +76,7 @@ namespace vcg static void exit2D(QPainter *painter) { - checkGLError::qDebug("glLabel"); + //checkGLError::qDebug("glLabel"); painter->restore(); painter->beginNativePainting(); glMatrixMode(GL_PROJECTION); @@ -84,7 +84,7 @@ namespace vcg glMatrixMode(GL_MODELVIEW); glPopMatrix(); glPopAttrib(); - checkGLError::qDebug("glLabel"); + //checkGLError::qDebug("glLabel"); } public: