PDA

View Full Version : error code



Rong Yao
03-14-2002, 03:43 PM
I am using glReadPixels, but it fails. How can I get the error code for the possible error?

john
03-14-2002, 04:17 PM
http://www.eecs.tulane.edu/www/graphics/doc/OpenGL-Man-Pages/glGetError.html
http://www.eecs.tulane.edu/www/graphics/doc/OpenGL-Man-Pages/gluErrorString.html