From Mathias Froehlich, "Attached a new state attribute implementing the glClipControl that appeared with GL4.5."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14928 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -467,6 +467,8 @@ GLExtensions::GLExtensions(unsigned int contextID)
|
||||
isGLExtensionSupported(contextID,"GL_EXT_texture_cube_map") ||
|
||||
(glVersion >= 1.3f);
|
||||
|
||||
isClipControlSupported = isGLExtensionSupported(contextID,"GL_ARB_clip_control") ||
|
||||
(glVersion >= 4.5f);
|
||||
|
||||
|
||||
isGlslSupported = ( glVersion >= 2.0f ) ||
|
||||
@@ -601,6 +603,9 @@ GLExtensions::GLExtensions(unsigned int contextID)
|
||||
setGLExtensionFuncPtr(glUniformMatrix3x4fv, "glUniformMatrix3x4fv" );
|
||||
setGLExtensionFuncPtr(glUniformMatrix4x3fv, "glUniformMatrix4x3fv" );
|
||||
|
||||
// ARB_clip_control
|
||||
setGLExtensionFuncPtr(glClipControl, "glClipControl");
|
||||
|
||||
// EXT_geometry_shader4
|
||||
setGLExtensionFuncPtr(glProgramParameteri, "glProgramParameteri", "glProgramParameteriEXT" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user