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