[Mesa-dev] [PATCH] mesa: fix format selection for meta CopyTexSubImage()
eric at anholt.net
Thu Jul 28 13:20:51 PDT 2011
On Thu, 28 Jul 2011 09:54:04 -0600, Brian Paul <brianp at vmware.com> wrote:
> 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
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39604
Looks like a mostly-better restoration of
296e6b9038131cd246226881208ffebe3c2683c3, except without the check for
whether what we're reading from is the same base format already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev