VertexAttribDivisor compare function fix: index must be compared
This commit is contained in:
parent
4bc1320709
commit
a87e57e946
@ -50,6 +50,7 @@ class OSG_EXPORT VertexAttribDivisor : public StateAttribute
|
|||||||
COMPARE_StateAttribute_Types(VertexAttribDivisor,sa)
|
COMPARE_StateAttribute_Types(VertexAttribDivisor,sa)
|
||||||
|
|
||||||
// compare each parameter in turn against the rhs.
|
// compare each parameter in turn against the rhs.
|
||||||
|
COMPARE_StateAttribute_Parameter(_index)
|
||||||
COMPARE_StateAttribute_Parameter(_divisor)
|
COMPARE_StateAttribute_Parameter(_divisor)
|
||||||
|
|
||||||
return 0; // passed all the above comparison macros, must be equal.
|
return 0; // passed all the above comparison macros, must be equal.
|
||||||
|
Loading…
Reference in New Issue
Block a user