View Full Version : how to detect glx errors?

cem polat
09-06-2004, 02:58 AM
We cannot get glx errors by using glGetError. Is there any function to get glx errors(i.e BadValue, BadAlloc)? How can we detect and handle glx errors?

09-07-2004, 12:46 AM
To get the X protocol errors you need to setup your own error handler (see the man page for XSetErrorHandler). Error handling is descriped in depth in the "Xlib Programming Manual".

-- Niels