Re: Good way to test for OpenGL support?

Greg Ewing <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Chris Barker wrote:

> 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.

You could try to create an OpenGL context and catch any
exceptions that arise.

-- 
Greg

------------------------------------------------------------------------------
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
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.