From: <wrt...@us...> - 2008-02-16 16:44:59
|
Revision: 7960 http://armagetronad.svn.sourceforge.net/armagetronad/?rev=7960&view=rev Author: wrtlprnft Date: 2008-02-16 08:45:03 -0800 (Sat, 16 Feb 2008) Log Message: ----------- if i already have to see all these errors at least make them a bit more descriptive. Modified Paths: -------------- armagetronad/branches/0.2.8/armagetronad/src/render/rGL.cpp Modified: armagetronad/branches/0.2.8/armagetronad/src/render/rGL.cpp =================================================================== --- armagetronad/branches/0.2.8/armagetronad/src/render/rGL.cpp 2008-02-16 16:25:32 UTC (rev 7959) +++ armagetronad/branches/0.2.8/armagetronad/src/render/rGL.cpp 2008-02-16 16:45:03 UTC (rev 7960) @@ -39,7 +39,7 @@ if ( error != GL_NO_ERROR ) { std::stringstream s; - s << "GL error 0X" << std::hex << error << "\n"; + s << "GL error 0X" << std::hex << error << " (" << (char const *)gluErrorString(error) << ")\n"; con << s.str(); // catch a breakpoint This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |