Changeset 13041 for OpenSceneGraph/trunk/src/osg/GL2Extensions.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/GL2Extensions.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/GL2Extensions.cpp
r12454 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * Copyright (C) 2003-2005 3Dlabs Inc. Ltd. 3 3 * Copyright (C) 2004-2005 Nathan Cournia 4 4 * Copyright (C) 2008 Zebra Imaging 5 5 * 6 * This application is open source and may be redistributed and/or modified 6 * This application is open source and may be redistributed and/or modified 7 7 * freely and without restriction, both in commercial and non commercial 8 8 * applications, as long as this copyright notice is maintained. 9 * 9 * 10 10 * This application is distributed in the hope that it will be useful, 11 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of … … 517 517 return; 518 518 } 519 519 520 520 _glVersion = findAsciiToFloat( version ); 521 521 _glslLanguageVersion = 0.0f; 522 522 523 523 bool shadersBuiltIn = OSG_GLES2_FEATURES || OSG_GL3_FEATURES; 524 524 525 525 _isShaderObjectsSupported = shadersBuiltIn || osg::isGLExtensionSupported(contextID,"GL_ARB_shader_objects"); 526 526 _isVertexShaderSupported = shadersBuiltIn || osg::isGLExtensionSupported(contextID,"GL_ARB_vertex_shader"); … … 532 532 _isUniformBufferObjectSupported = osg::isGLExtensionSupported(contextID,"GL_ARB_uniform_buffer_object"); 533 533 _isGetProgramBinarySupported = osg::isGLExtensionSupported(contextID,"GL_ARB_get_program_binary"); 534 534 535 535 if( isGlslSupported() ) 536 536 {
