Fixed various warnings which were appearing under MacOSX.

This commit is contained in:
Robert Osfield
2002-07-13 21:17:40 +00:00
parent db888b191c
commit 4895b22da1
7 changed files with 47 additions and 54 deletions

View File

@@ -73,6 +73,8 @@ void DynGeoSet::append(DynGeoSet* source)
binding = osg::GeoSet::BIND_OFF; \
list.clear(); } \
break; \
default: \
break; \
}
DynGeoSet::DynGeoSet():osg::GeoSet()
@@ -214,6 +216,7 @@ void DynGeoSet::addToGeometry(osg::Geometry* geom)
case(osg::GeoSet::TRIANGLES):mode = osg::Primitive::TRIANGLES; break;
case(osg::GeoSet::QUADS):mode = osg::Primitive::QUADS; break;
case(osg::GeoSet::POLYGON):mode = osg::Primitive::POLYGON; break;
default: mode = osg::Primitive::POLYGON;
}