From 261ab77373d4ded3630efea138d973b9c101e63b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 19 Dec 2001 01:10:04 +0000 Subject: [PATCH] Compilation fixes under for Windows --- src/osg/VisualsSettings.cpp | 2 -- src/osgUtil/SceneView.cpp | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/osg/VisualsSettings.cpp b/src/osg/VisualsSettings.cpp index 7c7d86ade..cc8f4f2b2 100644 --- a/src/osg/VisualsSettings.cpp +++ b/src/osg/VisualsSettings.cpp @@ -124,8 +124,6 @@ void VisualsSettings::readCommandLine(std::vector& commandLine) if (itr!=commandLine.end()) { - std::cout << "stereo turned on"<::iterator start = itr; diff --git a/src/osgUtil/SceneView.cpp b/src/osgUtil/SceneView.cpp index c65006c44..493000142 100644 --- a/src/osgUtil/SceneView.cpp +++ b/src/osgUtil/SceneView.cpp @@ -333,10 +333,10 @@ void SceneView::draw() osg::ColorMatrix* cm = new osg::ColorMatrix; - cm->setMatrix(osg::Matrix(0.3,0.3,0.3,0.0, - 0.6,0.6,0.6,0.0, - 0.1,0.1,0.1,0.0, - 0.0,0.0,0.0,1.0)); + cm->setMatrix(osg::Matrix(0.3f,0.3f,0.3f,0.0f, + 0.6f,0.6f,0.6f,0.0f, + 0.1f,0.1f,0.1f,0.0f, + 0.0f,0.0f,0.0f,1.0f)); _globalState->setAttribute(cm);