]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/StateAttributeFactory.cxx
accomodate changes to osgDB::DatabasePager interface
[simgear.git] / simgear / scene / util / StateAttributeFactory.cxx
index 76124da06b1b1e8df83ca8f024928d979f91ff38..25a0a57622860f841105ebd9985de3613682c220 100644 (file)
@@ -39,7 +39,7 @@ StateAttributeFactory::StateAttributeFactory()
 {
     _standardAlphaFunc = new AlphaFunc;
     _standardAlphaFunc->setFunction(osg::AlphaFunc::GREATER);
-    _standardAlphaFunc->setReferenceValue(0.01);
+    _standardAlphaFunc->setReferenceValue(0.01f);
     _standardAlphaFunc->setDataVariance(Object::STATIC);
     _smooth = new ShadeModel;
     _smooth->setMode(ShadeModel::SMOOTH);