mesa: Update texenv program when _NEW_ARRAYS is updated as well.
authorEric Anholt <eric@anholt.net>
Fri, 10 Apr 2009 23:47:14 +0000 (16:47 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 15 Apr 2009 19:55:50 +0000 (12:55 -0700)
commitc710430f3ac05c0c6a528bb7b4f82383a26103d1
treee8a00f42f57db925db915dd73c41084ffcc28d6b
parent8bc3a6eb1918710eadecb9b8d28a4afa2150a257
mesa: Update texenv program when _NEW_ARRAYS is updated as well.

This fixes a regression in fbotest1 on 915, where a transition from
color+vertex array enabled to texcoord0+vertex array enabled wouldn't trigger
program update on the second _mesa_update_state of DrawArrays, and we'd sample
a constant texcoord of 0,0,0,1 instead of the array.

The double state update in DrawArrays from
1680ef869625dc1fe9cf481b180382a34e0738e7 still needs fixing.
src/mesa/main/state.c