[Mesa-dev] glXMakeCurrent crashes (was: Re: How to obtain OpenGL implementation/driver information?)

Brian Paul brian.e.paul at gmail.com
Fri Feb 4 15:29:04 PST 2011

If you really need to do some basic sanity checking and verify that
libGL / libX11 aren't totally broken, you could do something like
autoconf does and run a small, trivial GLX test program before your
main app.  You could invoke the test program from a shell script
wrapper (or maybe from in the main app via fork/exec).  Check if the
test program exits abnormally, and disable OpenGL if needed.


More information about the mesa-dev mailing list