summaryrefslogtreecommitdiff
path: root/tests/system-gl.cc
diff options
context:
space:
mode:
authordon <don@shelley.tu.ok.cox.net>2011-10-20 00:37:00 (GMT)
committerdon <don@shelley.tu.ok.cox.net>2011-10-20 00:37:00 (GMT)
commitc7a809e0fd653795a93642301bbff8a27581ea57 (patch)
tree369f16bedb215c2a936580960375cf9825a0f1fc /tests/system-gl.cc
parent0356c77a2fece07b1376e2bd12cfba5e44d16091 (diff)
fix broken build
Diffstat (limited to 'tests/system-gl.cc')
-rw-r--r--tests/system-gl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system-gl.cc b/tests/system-gl.cc
index 00108cd..8874662 100644
--- a/tests/system-gl.cc
+++ b/tests/system-gl.cc
@@ -38,8 +38,8 @@ bool report_glerror(const char * function)
GLenum tGLErr = glGetError();
if (tGLErr != GL_NO_ERROR) {
if ( (tGLErr-0x500)<=3 && (tGLErr-0x500)>=0 )
- cerr << "OpenGL error " << hex << tGLErr << "(" <<
- << gl_errors[tGLErr-0x500] << ") while " << task << endl;
+ cerr << "OpenGL error " << hex << tGLErr << "("
+ << gl_errors[tGLErr-0x500] << ") while " << function << endl;
else
cerr << "OpenGL error 0x" << hex << tGLErr << " after " << function << endl;
return true;
contact: Jan Huwald // Impressum