From Marco Jez, addition of glw extension checking under Windows, and tweaks to

BlendEquation and RenderStage to correct the extensions being tested.
This commit is contained in:
Robert Osfield
2006-01-18 11:45:58 +00:00
parent 2a39871686
commit a0f43443a4
3 changed files with 45 additions and 3 deletions

View File

@@ -373,7 +373,7 @@ void RenderStage::runCameraSetUp(osg::State& state)
// check whether PBuffer-RTT is supported or not
if (renderTargetImplemntation==osg::CameraNode::PIXEL_BUFFER_RTT &&
!osg::isGLExtensionSupported(state.getContextID(), "ARB_render_texture"))
!osg::isGLExtensionSupported(state.getContextID(), "WGL_ARB_render_texture"))
{
if (renderTargetImplemntation<renderTargetFallback)
renderTargetImplemntation = renderTargetFallback;