BinomialLLC / crunch

Advanced DXTc texture compression and transcoding library
http://binomial.info
Other
851 stars 183 forks source link

Self assignment creating possible bug #3

Open Leandros opened 8 years ago

Leandros commented 8 years ago

In crn_tree_clusterizer.h are multiple self-assignments (starting with line 421), assigning left_weight and right_weight to itself.

Either, the assignment was meant to assign to another variable or it's superfluous. Either way, it should be fixed. I would send you a PR, but due to not knowing what was intended, I leave it untouched for now.