Fixes for OSX.

This commit is contained in:
Robert Osfield
2004-08-13 10:46:04 +00:00
parent 821b0991d9
commit 6227aa6251
3 changed files with 10 additions and 13 deletions

View File

@@ -139,8 +139,7 @@ class OSGGL2_EXPORT Extensions : public osg::Referenced
/** are all the extensions required for GLSL supported? */
bool isGlslSupported() const { return ( _isShaderObjectsSupported &&
_isVertexShaderSupported &&
_isFragmentShaderSupported &&
_isLanguage100Supported ); }
_isFragmentShaderSupported ); }
void setShaderObjectsSupported(bool flag) { _isShaderObjectsSupported = flag; }
bool isShaderObjectsSupported() const { return _isShaderObjectsSupported; }