summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-07-28 09:51:30 -0600
committerBrian Paul <[email protected]>2011-07-28 17:29:36 -0600
commite4fdc95277bd323d8945e20635d3a1702a2e695d (patch)
tree755dee977e64f3e10428f5e325b6e15d425a3e65 /src/gallium/drivers/softpipe
parent26684e0b1a857cc16a2c6f2b542e5ccf3da5acf5 (diff)
mesa: fix format selection for meta CopyTexSubImage()
When we do a glReadPixels into the temporary buffer, we don't want to use GL_LUMINANCE, GL_LUMINANCE_ALPHA or GL_INTENSITY since they will compute L=R+G+B which is not what we want. This bug has existed all along but was only exposed by the elimination of the driver hook for glCopyTexImage() in 5874890c26f434f54e9218b83fae4eb8175c24e9. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39604 Tested-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
0 files changed, 0 insertions, 0 deletions