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.

-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to