diff options
author | Brian Paul <[email protected]> | 2001-03-08 17:33:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-08 17:33:33 +0000 |
commit | 95e02a210ed339ad20b0c16284dcdcf9af2dc755 (patch) | |
tree | 52876be8f56ec94a5f9ad951b59a2d7b8455835e /src/mesa/drivers/osmesa | |
parent | 896e8bd2d7eb1385ca89e71b7eac146577320e00 (diff) |
do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 5b3b9427807..0473717a0dc 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.49 2001/03/08 15:23:46 brianp Exp $ */ +/* $Id: osmesa.c,v 1.50 2001/03/08 17:33:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1596,7 +1596,6 @@ static void smooth_rgba_z_triangle( GLcontext *ctx, { \ GLint i, len = RIGHT-LEFT; \ GLchan *img = PIXELADDR4(LEFT, Y); \ - (void) fffog; \ for (i = 0; i < len; i++, img += 4) { \ GLdepth z = FixedToDepth(ffz); \ if (z < zRow[i]) { \ @@ -1638,7 +1637,6 @@ static void flat_rgba_z_triangle( GLcontext *ctx, { \ GLint i, len = RIGHT-LEFT; \ GLuint *img = (GLuint *) PIXELADDR4(LEFT, Y); \ - (void) fffog; \ for (i=0;i<len;i++) { \ GLdepth z = FixedToDepth(ffz); \ if (z < zRow[i]) { \ |