[osg-users] openGL extensions

Ben Axelrod baxelrod at coroware.com
Mon Sep 22 15:27:48 PDT 2008


I would like to detect if the user has the appropriate openGL extensions in order to do shadowing.  However, when I do:

glGetString(GL_VERSION)
glGetString(GL_EXTENSIONS)

They return null.  How can I get a list of the available extensions?  Is there an easy way to get this info from OSG?

Also, how do I know which extensions I need for the different shadow techniques?

Thanks,
-Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080922/9c9792f0/attachment-0002.htm>


More information about the osg-users mailing list