Added display listing of ShadowVolume

This commit is contained in:
Robert Osfield
2007-01-30 17:12:33 +00:00
parent 03dbbd5048
commit 55661041d7

View File

@@ -662,8 +662,7 @@ int main(int argc, char** argv)
osg::ref_ptr<osgShadow::ShadowVolumeGeometry> shadowVolume = new osgShadow::ShadowVolumeGeometry;
// shadowVolume->setUseDisplayList(!updateLightPosition);
shadowVolume->setUseDisplayList(false);
shadowVolume->setUseDisplayList(!updateLightPosition);
osg::Vec4 lightpos;