mesa: Ensure that (unit->_Current != 0) == (unit->_ReallyEnabled != 0).
authorEric Anholt <eric@anholt.net>
Wed, 23 Apr 2014 23:32:39 +0000 (16:32 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Apr 2014 21:33:20 +0000 (14:33 -0700)
commit62d46332d8ed7a6270bc4e0520cf52668efd33b5
tree2c15419f6ccb3c00a12a1c19f9d9925090b59bf0
parent6bac47c05a40ea5a9f62b8b40bc1399a613d53df
mesa: Ensure that (unit->_Current != 0) == (unit->_ReallyEnabled != 0).

I'm going to try to delete _ReallyEnabled, which is this weird bitfield
with either 0 or 1 bits set with just the reference to _Current.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/texstate.c