mesa: fix logic error in computing enableBits in update_texture_state()
authorBrian Paul <brianp@vmware.com>
Sat, 7 Feb 2009 18:20:08 +0000 (11:20 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 7 Feb 2009 18:20:08 +0000 (11:20 -0700)
commitb46611633c5da6fa23ee17bce22939fe20ef194e
treed9a53f74246e03201b372deafdd01f12ad0901f9
parentf6d23943cd289ed2b60ec01006fb155f22969749
mesa: fix logic error in computing enableBits in update_texture_state()

If we had a vertex shader but no fragment shader (i.e. fixed function) we
didn't get the right enabled texture targets.

Fixes blank/white texture problem.
src/mesa/main/texstate.c