summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/stencil.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-25 14:38:39 -0700
committerEric Anholt <[email protected]>2011-10-26 12:42:13 -0700
commitb31104e318ec1a49447d3f301bcfe46b22d508db (patch)
tree9d6e4f67114836fd8ba03192f44bf23c64c41525 /src/mesa/main/stencil.c
parent69e48e7220f018d874e85eea6962ec58b1feba87 (diff)
mesa: Skip texstore for 0-sized texture data.
The intel driver (and gallium, it looks like, though it doesn't use these texstore functions at this point) doesn't bother making storage for textures with 0 width, height, or depth. This avoids them having to deal with returning a mapping for that nonexistent data. Fixes assertion failures with an upcoming intel driver change. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/stencil.c')
0 files changed, 0 insertions, 0 deletions