st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels
authorBrian Paul <brianp@vmware.com>
Mon, 22 Feb 2010 15:04:53 +0000 (08:04 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Feb 2010 15:04:53 +0000 (08:04 -0700)
commitcfdd1ca69521446b5d937d95e7d8bfb27f6d68eb
treee3e9bfe090bd7c339c75ae63e59f868366c702cc
parent504e297a2c395d136ff73279db28cc9de3303c2d
st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels

This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the
svga driver.  Now we use 0.5, 0.5 as is typical for ordinary 3D rendering.

(cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5)
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c