From 71c1fc87bb5e23e2ced785b685215cc41132004b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 26 Jun 2013 12:33:14 +0000 Subject: [PATCH] Fixed bug in TemplateTargetAttributeDispatch that was causing a crash with the osgsimplegl3 example --- src/osg/ArrayDispatchers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/ArrayDispatchers.cpp b/src/osg/ArrayDispatchers.cpp index 11e6020f4..43bf1fa61 100644 --- a/src/osg/ArrayDispatchers.cpp +++ b/src/osg/ArrayDispatchers.cpp @@ -70,7 +70,7 @@ class TemplateTargetAttributeDispatch : public AttributeDispatch TemplateTargetAttributeDispatch(I target, F functionPtr, unsigned int stride): _functionPtr(functionPtr), _target(target), _stride(stride), _array(0) {} - virtual void assign(const GLvoid* array, const IndexArray*) + virtual void assign(const GLvoid* array) { _array = reinterpret_cast(array); }