Compilation fixes under for Windows
This commit is contained in:
parent
296865e250
commit
261ab77373
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user