diff options
author | Eric Anholt <[email protected]> | 2013-08-29 08:09:05 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-08-30 11:49:09 -0700 |
commit | bdf3f50e9a85e4c063b46ceaf23bceb07b06b82e (patch) | |
tree | 769c8f05670cc09f6ed7885e49751004393d6e68 /src/mesa/main/drawpix.h | |
parent | b188467fdf71d8f4c5fab4aafae1253f64d9aab4 (diff) |
mesa: Don't choose S3TC for generic compression if we can't compress.
If the app is asking us to do GL_COMPRESSED_RGBA, then the app obviously
doesn't have pre-compressed data to hand us. So don't choose a storage
format that we won't actually be able to compress and store.
Fixes black screen in warzone2100 when libtxc_dxtn is not present. Also
66 piglit tests.
NOTE: This is a candidate for the 9.2 branch.
Reported-by: Paul Wise <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/drawpix.h')
0 files changed, 0 insertions, 0 deletions