diff options
author | Eric Anholt <[email protected]> | 2011-12-01 14:35:18 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-12-02 15:28:44 -0800 |
commit | 1e0b6a90d78ed78eb9e22c65abd5af314142a844 (patch) | |
tree | dbddf08294eabe837e7328f52368e8ebe57f9111 /src/mesa/main/arrayobj.c | |
parent | bda361e0d47a670f318664abcdf0a065bef22883 (diff) |
mesa: Fix glCompressedTexSubImage (and non-Sub) for height == 2 or 1.
Generally this code works with width and height aligned to compressed
blocks, but at the 2x2 and 1x1 levels of a square texture (or height <
bh in general), we were skipping uploading our single row of blocks.
Fixes piglit compressedteximage GL_COMPRESSED_RGBA_S3TC_DXT5_EXT.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
0 files changed, 0 insertions, 0 deletions