Compilation fixes under for Windows

This commit is contained in:
Robert Osfield 2001-12-19 01:10:04 +00:00
parent 296865e250
commit 261ab77373
2 changed files with 4 additions and 6 deletions

View File

@ -124,8 +124,6 @@ void VisualsSettings::readCommandLine(std::vector<std::string>& commandLine)
if (itr!=commandLine.end())
{
std::cout << "stereo turned on"<<endl;
_stereo = true;
std::vector<std::string>::iterator start = itr;

View File

@ -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);