Good way to test for OpenGL support?

Chris Barker <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <CALGmxELM4RE58EQsBQTfmpS=LO6Z65zPuq6fFV6VE3rDJJm30w@mail.gmail.com>
Hi folks,

When I try to run my app on a machine with no OpenGL drivers, I get
errors, but they are usually someont g mysterious.

What I'd like to do is check on startup if OPenGL support is there, so
I can give a nice useful error message to my users.

What's a good way to do that? i.e. check for driver support -- I can
handle the eror message.

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.