st/mesa: fix GL_FEEDBACK mode inverted Y coordinate bug
authorBrian Paul <brianp@vmware.com>
Tue, 19 Nov 2013 20:09:57 +0000 (13:09 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 19 Nov 2013 20:21:35 +0000 (13:21 -0700)
commit15d8e05e1e98a9bfd5a365d0fda222668f24261f
treeaeb53c8728aca6f0f7d98e0b68de558ced8d51a9
parente7a5905d8a3960b0981750f8131e3af9acbfcdb8
st/mesa: fix GL_FEEDBACK mode inverted Y coordinate bug

We need to check the drawbuffer's orientation before inverting Y
coordinates.  Fixes piglit feedback tests when running with the
-fbo option.

Cc: "9.2" "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_feedback.c