swrast: fix blit code's nearest/linear coordinate arithmetic
authorBrian Paul <brianp@vmware.com>
Mon, 21 Jan 2013 15:59:25 +0000 (08:59 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Jan 2013 21:53:58 +0000 (14:53 -0700)
commit547a418888c455a3f5158c147a155292f398ea34
tree712dba474ee72581c03cc99d8078d40fecf10bfc
parentb70b4862491121d5cc4444cea34f2f86a3aa5ded
swrast: fix blit code's nearest/linear coordinate arithmetic

Fixes piglit's fbo-blit-stretch test.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/swrast/s_blit.c