Merge pull request #358 from eligovision/OpenSceneGraph_optimizer

VertexAttribDivisor compare function fix: index must be compared
This commit is contained in:
OpenSceneGraph git repository 2017-10-09 10:02:51 +01:00 committed by GitHub
commit 5f985a36a2

View File

@ -50,6 +50,7 @@ class OSG_EXPORT VertexAttribDivisor : public StateAttribute
COMPARE_StateAttribute_Types(VertexAttribDivisor,sa)
// compare each parameter in turn against the rhs.
COMPARE_StateAttribute_Parameter(_index)
COMPARE_StateAttribute_Parameter(_divisor)
return 0; // passed all the above comparison macros, must be equal.