mesa: only use fallback texture when using shaders, not fixed-function
authorBrian Paul <brianp@vmware.com>
Tue, 5 May 2009 22:29:04 +0000 (16:29 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 5 May 2009 22:29:04 +0000 (16:29 -0600)
commita0edbfb28fb2e670c657d52190a7e8b1ccf4f46e
tree342dc4af86d73a64e8226fcd012f11d0e761b29c
parent01e16befd4809e3e93ee7855a4a5d7df9fe010d9
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