Browse Source

gcc3.2 bug

David Rose 22 years ago
parent
commit
15feb555b3

+ 1 - 1
panda/src/glgsg/glGraphicsStateGuardian.I

@@ -290,7 +290,7 @@ call_glStencilFunc(GLenum func,GLint ref,GLuint mask) {
       glgsg_cat.spam(false) << "unknown, ";
       break;
     }
-    glgsg_cat.spam(false) << (int)ref << (unsigned int)mask << ")\n";
+    glgsg_cat.spam(false) << (int)ref << ", " << (int)mask << ")\n";
 #endif
     glStencilFunc(func, ref, mask);
 }

+ 1 - 1
panda/src/glgsg/glGraphicsStateGuardian.h

@@ -19,7 +19,7 @@
 #ifndef GLGRAPHICSSTATEGUARDIAN_H
 #define GLGRAPHICSSTATEGUARDIAN_H
 
-//#define GSG_VERBOSE 1
+#define GSG_VERBOSE 1
 
 #include "pandabase.h"