Ported osgUtil, osgDB, osgGA, NodeKits and plugins to compile against OpenGL ES 1.1 and OpenGL ES 2.0.
This commit is contained in:
@@ -391,7 +391,9 @@ protected:
|
||||
osg::StateSet* createTransformStateSet()
|
||||
{
|
||||
osg::StateSet* stateset = new osg::StateSet;
|
||||
stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);
|
||||
#if !defined(OSG_GLES2_AVAILABLE)
|
||||
stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);
|
||||
#endif
|
||||
return stateset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user