Is there any way to detect the availability of an OpenGL extension through OpenSG without using an OSG::WindowPtr? I have a case where I want to determine at run time whether to use GLSL depending on the availability of GLSL, but the code in question does not have access to an OSG::WindowPtr object to be able to call OSG::Window::hasExtension(). I do have the OSG::SHLChunkPtr object that contains the vertex and fragment programs, but I don't see anything obvious in OSG::SHLChunk that would let me query the availability of GLSL. I have an idea or two for how to do what I need without going through OpenSG, but it seems like asking OpenSG would be the cleanest approach. Thanks.
-Patrick -- Patrick L. Hartling | VP Engineering, Infiscape Corp. PGP: http://tinyurl.com/2msw3 | http://www.infiscape.com/
signature.asc
Description: OpenPGP digital signature
