diff options
author | Brian Paul <[email protected]> | 2012-01-04 14:55:32 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-15 14:07:43 -0700 |
commit | c04db7f7fad883891084d7f2e9a0040a17c48fe8 (patch) | |
tree | 94580cf15b55b6e017a8cd200a60dc2f687550e0 /docs | |
parent | 447071cfb01cf52e3e6591c71684a689f7e900fa (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 'docs')
0 files changed, 0 insertions, 0 deletions