diff options
author | Brian Paul <brianp@vmware.com> | 2012-03-08 20:16:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-03-09 08:45:33 -0700 |
commit | f5d0ced242abc9e4e777bbe374585f44399b75af (patch) | |
tree | e56e06e1b3a5e400f721e527d97c72219bf3d7c7 /doxygen/main.doxy | |
parent | 991798822346dbb2d741b1f6d62f4bcb2c889dc8 (diff) |
mesa: fix GL_LUMINANCE handling in glGetTexImage
There are several cases in which we need to explicity "rebase" colors
(ex: set G=B=0) when getting GL_LUMINANCE textures:
1. If the luminance texture is actually stored as rgba
2. If getting a luminance texture, but returning rgba
3. If getting an rgba texture, but returning luminance
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679
Also fixes the new piglit getteximage-luminance test.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'doxygen/main.doxy')
0 files changed, 0 insertions, 0 deletions