VertexAttribDivisor compare function fix: index must be compared

remotes/origin/Deprecated_master_20th_November_2022
Konstantin S. Matveyev 7 years ago
parent 4bc1320709
commit a87e57e946

@ -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…
Cancel
Save