mesa: only use fallback texture when using shaders, not fixed-function
authorBrian Paul <brianp@vmware.com>
Tue, 5 May 2009 22:21:20 +0000 (16:21 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 5 May 2009 22:21:20 +0000 (16:21 -0600)
commit01e16befd4809e3e93ee7855a4a5d7df9fe010d9
treefbb94ea4921b1142198f82cf4aa4c729b683a217
parentc0d3761c167c2d952e92c46cf3a0e26461985ada
mesa: only use fallback texture when using shaders, not fixed-function

The semantics are a little different for shaders vs. fixed-function when
trying to use an incomplete texture.  The fallback texture returning
(0,0,0,1) should only be used with shaders.

Fixes glean fbo test regression.
src/mesa/main/texstate.c