From b0057e258c89268752605e5095a7e6f8339ba243 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 20 Oct 2009 13:15:01 +0000 Subject: [PATCH] Fixed typo of osg_ModelViewMatrix --- src/osg/State.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 94dc34fba..1490b3a89 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -1167,7 +1167,7 @@ bool State::convertVertexShaderSourceToOsgBuiltIns(std::string& source) const State_Utils::replaceAndInsertDeclaration(source, "gl_MultiTexCoord7", "osg_MultiTexCoord7", "attribute vec4 "); // replace built in uniform - State_Utils::replaceAndInsertDeclaration(source, "gl_ModelViewMatrix", "osg_ModeViewMatrix", "uniform mat4 "); + State_Utils::replaceAndInsertDeclaration(source, "gl_ModelViewMatrix", "osg_ModelViewMatrix", "uniform mat4 "); State_Utils::replaceAndInsertDeclaration(source, "gl_ModelViewProjectionMatrix", "osg_ModelViewProjectionMatrix", "uniform mat4 "); State_Utils::replaceAndInsertDeclaration(source, "gl_ProjectionMatrix", "osg_ProjectionMatrix", "uniform mat4 "); State_Utils::replaceAndInsertDeclaration(source, "gl_NormalMatrix", "osg_NormalMatrix", "uniform mat3 ");