diff options
author | Nanley Chery <[email protected]> | 2015-08-20 18:00:20 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2015-08-20 18:06:47 -0700 |
commit | 29e953b07b8c1e4d27f53c4a1430154a3d67f896 (patch) | |
tree | 4e2d477f6adff8d70aacd3815b49821ff9cd0ad6 /src/mesa/main/api_loopback.c | |
parent | 4237dfb97815a50de7be464a0d62bd19e62d17b7 (diff) |
Revert "mesa/formats: refactor by collapsing cases in switch statement by type"
This reverts commit ffe6c6ad5f719dedd1b6b95e8590e3f20b23d340.
_mesa_format_num_components() does not include the padding bits in mesa formats
containing 'X' channels. This could cause mipmap generation for certain
uncompressed formats to underestimate the number of channels in the source
image by 1.
Signed-off-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/mesa/main/api_loopback.c')
0 files changed, 0 insertions, 0 deletions