From ec2cb81c658a86be4d033c66248975a1d1b51074 Mon Sep 17 00:00:00 2001 From: Nico Kruithof Date: Tue, 21 Feb 2017 21:55:05 +0100 Subject: [PATCH] Fixed typo osg_ModeViewMatrix -> osg_ModelViewMatrix --- examples/osgvertexattributes/osgvertexattributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgvertexattributes/osgvertexattributes.cpp b/examples/osgvertexattributes/osgvertexattributes.cpp index deec04f9b..05c75d2d1 100644 --- a/examples/osgvertexattributes/osgvertexattributes.cpp +++ b/examples/osgvertexattributes/osgvertexattributes.cpp @@ -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