diff options
-rw-r--r-- | tests/system-gl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system-gl.cc b/tests/system-gl.cc index 8874662..7000221 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 " << function << endl; + cerr << "OpenGL error 0x" << hex << tGLErr << " (" + << gl_errors[tGLErr-0x500] << ") after " << function << endl; else cerr << "OpenGL error 0x" << hex << tGLErr << " after " << function << endl; return true; |