PDA

View Full Version : how to detect glx errors?



cem polat
09-06-2004, 03:58 AM
hi,
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?

Husted
09-07-2004, 01: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