Browse Source

oops, revert accidental checkin of debug message

rdb 10 years ago
parent
commit
0c3fd953fc
1 changed files with 2 additions and 4 deletions
  1. 2 4
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

+ 2 - 4
panda/src/glstuff/glGraphicsStateGuardian_src.cxx

@@ -6928,8 +6928,8 @@ query_gl_version() {
       string_to_int(components[1], _gl_version_minor);
     }
 
-    if (GLCAT.is_info()) {
-      GLCAT.info()
+    if (GLCAT.is_debug()) {
+      GLCAT.debug()
         << "GL_VERSION = " << version << ", decoded to "
         << _gl_version_major << "." << _gl_version_minor
         << "\n";
@@ -6952,7 +6952,6 @@ query_gl_version() {
       if (verstr == NULL || sscanf(verstr, "%d.%d", &_gl_shadlang_ver_major, &_gl_shadlang_ver_minor) != 2) {
         GLCAT.warning()  << "Invalid GL_SHADING_LANGUAGE_VERSION format.\n";
       }
-      cerr << verstr << " -> " << _gl_shadlang_ver_major << " . " << _gl_shadlang_ver_minor << "\n";
     }
 #elif defined(OPENGLES_2)
     _gl_shadlang_ver_major = 1;
@@ -6961,7 +6960,6 @@ query_gl_version() {
     if (verstr == NULL || sscanf(verstr, "OpenGL ES GLSL %d.%d", &_gl_shadlang_ver_major, &_gl_shadlang_ver_minor) != 2) {
       GLCAT.warning()  << "Invalid GL_SHADING_LANGUAGE_VERSION format.\n";
     }
-    cerr << verstr << " -> " << _gl_shadlang_ver_major << " . " << _gl_shadlang_ver_minor << "\n";
 #endif
   }
 }