swrast: move swrast_render_start/finish() call in drawpixels code
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:59:54 +0000 (08:59 -0700)
commite66858fb67477db22139fe38d4f23530b7a142a7
tree378e5e885f0e2644d32dadbae4b06e0052180e14
parentd9d0d4198f9c76774649b8cad3f10352fd7b5ea5
swrast: move swrast_render_start/finish() call in drawpixels code

We don't want to call these functions where we'll be using
Map/UnmapRenderbuffer().  So push them further down in the drawpixels
cases so that we can switch over to Map/UnmapRenderbuffer() step by step.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/swrast/s_drawpix.c