Merge pull request #358 from eligovision/OpenSceneGraph_optimizer
VertexAttribDivisor compare function fix: index must be compared
This commit is contained in:
commit
5f985a36a2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user