From 0c5e9e5a2e2bfb668f1bf312bc915539a7df5912 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 26 Jan 2007 16:08:52 +0000 Subject: [PATCH] Added Program pointer to help with uniform apply. --- include/osgUtil/GLObjectsVisitor | 1 + 1 file changed, 1 insertion(+) diff --git a/include/osgUtil/GLObjectsVisitor b/include/osgUtil/GLObjectsVisitor index c88a2a14d..1022dcd56 100644 --- a/include/osgUtil/GLObjectsVisitor +++ b/include/osgUtil/GLObjectsVisitor @@ -109,6 +109,7 @@ class OSGUTIL_EXPORT GLObjectsVisitor : public osg::NodeVisitor osg::RenderInfo _renderInfo; DrawableAppliedSet _drawablesAppliedSet; StatesSetAppliedSet _stateSetAppliedSet; + osg::ref_ptr _lastCompiledProgram; };