On 04/21/2014 03:57 PM, Fredrik Höglund wrote:
The texture can only be bound to the index that corresponds to its
target, so there is no need to loop over all possible indices
for every unit and checking if the texture is bound to it.
---
v2: Restructure the loop to avoid using continue, and use
The texture can only be bound to the index that corresponds to its
target, so there is no need to loop over all possible indices
for every unit and checking if the texture is bound to it.
---
v2: Restructure the loop to avoid using continue, and use
&= ~(1 << index) to clear bits in _BoundText