On Thu, 28 Jul 2011 09:54:04 -0600, Brian Paul <bri...@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
> 5874890c26f434f54e9218b83fae4eb8175c24e9.
> 
> 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.

Attachment: pgpcHnRPQ89v7.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to