VertexAttribDivisor compare function fix: index must be compared

This commit is contained in:
Konstantin S. Matveyev 2017-10-06 14:33:07 +03:00
parent 4bc1320709
commit a87e57e946

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.