From Paul Martz, enabled packed_depth_stencil support for GL3

This commit is contained in:
Robert Osfield 2009-11-11 12:04:06 +00:00
parent 2983bbe6c3
commit 05b90497e1

View File

@ -95,10 +95,8 @@ FBOExtensions::FBOExtensions(unsigned int contextID)
LOAD_FBO_EXT(glRenderbufferStorageMultisample);
LOAD_FBO_EXT(glRenderbufferStorageMultisampleCoverageNV);
if (isGLExtensionSupported(contextID, "GL_EXT_packed_depth_stencil"))
{
_packed_depth_stencil_supported = true;
}
_packed_depth_stencil_supported = OSG_GL3_FEATURES ||
(isGLExtensionSupported(contextID, "GL_EXT_packed_depth_stencil"));
}