diff options
author | Eric Anholt <[email protected]> | 2011-12-01 14:52:44 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-12-02 15:28:44 -0800 |
commit | 079bb3fff7104782f2c921200e9a299c38a53ab6 (patch) | |
tree | e5086d59f09cb4a1a5f51782905fdf888cbe88dd /configs | |
parent | 1e0b6a90d78ed78eb9e22c65abd5af314142a844 (diff) |
mesa: Fix assertions for block size handling in glCompressedTexSubImage2D.
Anything of less than (bw, bh) size is possible when you consider
rectangular textures, and this code is (now) safe for those. Even for
power-of-two textures, width could be 4 for FXT1 while not being
aligned to block size.
Fixes piglit compressedteximage GL_COMPRESSED_RGB_FXT1_3DFX
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions