st/mesa: fix incorrect sprite origin when drawing to FBO/texture
authorBrian Paul <brianp@vmware.com>
Mon, 1 Jun 2009 20:59:11 +0000 (14:59 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 1 Jun 2009 20:59:11 +0000 (14:59 -0600)
commit0e8a5a84742adf6e99236f246c77325fad174204
tree750b80518696f09e073e8281f1352c1e61677e8b
parent427554211b5b8ab2c6afcd5bd574ac97fb3457da
st/mesa: fix incorrect sprite origin when drawing to FBO/texture

Need to take the draw buffer's up/down orientation into consideration
when setting the sprite_coord_mode field.

Fixes inverted sprites when drawing into an FBO.
src/mesa/state_tracker/st_atom_rasterizer.c