oops, revert accidental checkin of debug message

This commit is contained in:
rdb 2015-04-06 15:11:55 +02:00
parent 8bafb891a5
commit 0c3fd953fc

View File

@ -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
}
}