summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-08-24 08:52:29 -0600
committerBrian Paul <brianp@vmware.com>2016-08-25 07:19:35 -0600
commit2a2dc416b6816ac8914c5f45ac80545d2c09246f (patch)
treee37447b8b29c767df067efd38c510ccbd61ab87a /configure.ac
parent3ff0b67e1b6b492d5793c1580f4be0c6f58a1bc2 (diff)
downloadexternal_mesa3d-2a2dc416b6816ac8914c5f45ac80545d2c09246f.zip
external_mesa3d-2a2dc416b6816ac8914c5f45ac80545d2c09246f.tar.gz
external_mesa3d-2a2dc416b6816ac8914c5f45ac80545d2c09246f.tar.bz2
swrast: fix incorrectly positioned putImage() in swrast driver
Some front buffer rendering was in the wrong position. This included scissored clears, glDrawPixels and glCopyPixels. The problem was the y coordinate passed to putImage() didn't match the y coordinate passed to getImage(). We fix this by setting xrb->map_y to the inverted coordinate in swrast_map_renderbuffer() which is used later by the putImage() call. Also pass xrb->map_y to getImage() to be symmetric. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97426 Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions