diff options
author | Brian Paul <[email protected]> | 2011-09-17 11:26:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-20 20:17:42 -0600 |
commit | 1e939f53749781312b1b3b729e2d73493ae6b304 (patch) | |
tree | 9719833f4da5f66a750bbd7d284877ed74bec8c7 /src/gallium | |
parent | 4731a598f00c8a229df7b36d9a2a7505b679de1d (diff) |
meta: fix broken sRGB mipmap generation
If we're generating a mipmap for an sRGB texture we need to bypass
sRGB->linear conversion. Otherwise the destination mipmap level
(drawn with a textured quad) will have the wrong colors.
If we can't turn of sRGB->linear conversion (GL_EXT_texture_sRGB_decode)
we need to use the software fallback for mipmap generation.
Note: This is a candidate for the 7.11 branch.
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions