OSDN Git Service

mesa: adjust glBitmap coords by a small epsilon
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 25 Apr 2008 15:46:43 +0000 (09:46 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 30 Apr 2008 00:37:41 +0000 (18:37 -0600)
commit4e0e02ae684c0286599309ae166cfc716db940d7
tree9887da2b66ae173f11126c023339779970a53aa7
parent4f474c7d1e1e6807af0f3db55f641fbd66be2e90
mesa: adjust glBitmap coords by a small epsilon

Fixes problem with bitmaps jumping around by one pixel depending on window
size.  The rasterpos is often X.9999 instead of X+1.
Run progs/redbook/drawf and resize window to check.

Cherry picked from gallium-0.1 branch
src/mesa/main/drawpix.c