- renamed qDebug function in GLCheckError causing conflict in qt 5.0
This commit is contained in:
parent
5bcce6a3d5
commit
3768a3b7e7
|
@ -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));
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue