From 19bf04c20580af9e97000c242554f6afff6b057b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 2 Jan 2002 15:42:42 +0000 Subject: [PATCH] Updates from Randall Hopper to fix build under IRIX. --- src/Demos/osgtexture/osgtexture.cpp | 2 +- src/osgPlugins/pfb/ConvertFromPerformer.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Demos/osgtexture/osgtexture.cpp b/src/Demos/osgtexture/osgtexture.cpp index d16cb2b2c..54bd74a0d 100644 --- a/src/Demos/osgtexture/osgtexture.cpp +++ b/src/Demos/osgtexture/osgtexture.cpp @@ -327,7 +327,7 @@ osg::Node* createModelFromImages(ImageList& imageList) } -void write_usage(ostream& out,const std::string& name) +void write_usage(std::ostream& out,const std::string& name) { out << std::endl; out <<"usage:"<< std::endl; diff --git a/src/osgPlugins/pfb/ConvertFromPerformer.cpp b/src/osgPlugins/pfb/ConvertFromPerformer.cpp index 7883214be..088120efa 100644 --- a/src/osgPlugins/pfb/ConvertFromPerformer.cpp +++ b/src/osgPlugins/pfb/ConvertFromPerformer.cpp @@ -921,8 +921,8 @@ osg::StateSet* ConvertFromPerformer::visitGeoState(osg::GeoSet* osgGeoSet,pfGeoS osgStateSet->setAttribute(osgTexGen); break; case(PFTG_EYE_LINEAR_IDENT) : - cerr << "TexGen Mode PFTG_EYE_LINEAR_IDENT not currently supported by the OSG,"<setMode(osg::TexGen::EYE_LINEAR); osgStateSet->setAttribute(osgTexGen); @@ -935,15 +935,15 @@ osg::StateSet* ConvertFromPerformer::visitGeoState(osg::GeoSet* osgGeoSet,pfGeoS osgTexGen->setStateSetModes(*osgStateSet,osg::StateAttribute::OFF); break; case(PFTG_OBJECT_DISTANCE_TO_LINE) : - cerr << "TexGen Mode PFTG_OBJECT_DISTANCE_TO_LINE not currently supported by the OSG."<setStateSetModes(*osgStateSet,osg::StateAttribute::OFF); break; case(PFTG_EYE_DISTANCE_TO_LINE) : - cerr << "TexGen Mode PFTG_EYE_DISTANCE_TO_LINE not currently supported by the OSG."<setStateSetModes(*osgStateSet,osg::StateAttribute::OFF); break; default: - cerr << "TexGen Mode "<setStateSetModes(*osgStateSet,osg::StateAttribute::OFF); break; }