Fixed typo

osg_ModeViewMatrix -> osg_ModelViewMatrix
This commit is contained in:
Nico Kruithof
2017-02-21 21:55:05 +01:00
committed by Robert Osfield
parent 95818b0819
commit 1b9e1301cf

View File

@@ -98,7 +98,7 @@ class ConvertToVertexAttibArrays : public osg::NodeVisitor
#if 1
// replace built in uniform
replaceBuiltInUniform(source, "gl_ModelViewMatrix", "osg_ModeViewMatrix", "uniform mat4 ");
replaceBuiltInUniform(source, "gl_ModelViewMatrix", "osg_ModelViewMatrix", "uniform mat4 ");
replaceBuiltInUniform(source, "gl_ModelViewProjectionMatrix", "osg_ModelViewProjectionMatrix", "uniform mat4 ");
replaceBuiltInUniform(source, "gl_ProjectionMatrix", "osg_ProjectionMatrix", "uniform mat4 ");
#endif