From 1b9e1301cff88b6b2a44a3f6e8ebbfcbe791dc59 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 4494dc9c3..2b61b854c 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