summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-04 14:55:32 -0700
committerBrian Paul <[email protected]>2012-02-15 14:07:43 -0700
commitc04db7f7fad883891084d7f2e9a0040a17c48fe8 (patch)
tree94580cf15b55b6e017a8cd200a60dc2f687550e0 /src/mesa/state_tracker/st_cb_texture.c
parent447071cfb01cf52e3e6591c71684a689f7e900fa (diff)
mesa: fix _mesa_get_fallback_texture() to handle all texture targets
Previously, this function only handled 2D textures. The fallback texture is used when we try to sample from an incomplete texture object. GLSL says sampling an incomplete texture should return (0,0,0,1). v2: use a 1-texel texture image, per José. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
0 files changed, 0 insertions, 0 deletions