diff options
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_aalinetemp.h | 8 | ||||
-rw-r--r-- | src/mesa/swrast/s_aatritemp.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h index 4fffd0423e..529da48110 100644 --- a/src/mesa/swrast/s_aalinetemp.h +++ b/src/mesa/swrast/s_aalinetemp.h @@ -1,10 +1,10 @@ -/* $Id: s_aalinetemp.h,v 1.21 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_aalinetemp.h,v 1.22 2003/02/21 21:00:27 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -54,7 +54,7 @@ NAME(plot)(GLcontext *ctx, struct LineInfo *line, int ix, int iy) * solving the plane equations at (ix,iy). */ #ifdef DO_Z - line->span.array->z[i] = (GLdepth) solve_plane(fx, fy, line->zPlane); + line->span.array->z[i] = (GLdepth) IROUND(solve_plane(fx, fy, line->zPlane)); #endif #ifdef DO_FOG line->span.array->fog[i] = solve_plane(fx, fy, line->fPlane); diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index b5d82a615c..1b4df75371 100644 --- a/src/mesa/swrast/s_aatritemp.h +++ b/src/mesa/swrast/s_aatritemp.h @@ -1,4 +1,4 @@ -/* $Id: s_aatritemp.h,v 1.34 2003/01/28 00:14:32 brianp Exp $ */ +/* $Id: s_aatritemp.h,v 1.35 2003/02/21 21:00:20 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -292,7 +292,7 @@ array->coverage[count] = coverage; #endif #ifdef DO_Z - array->z[count] = (GLdepth) solve_plane(cx, cy, zPlane); + array->z[count] = (GLdepth) IROUND(solve_plane(cx, cy, zPlane)); #endif #ifdef DO_FOG array->fog[count] = solve_plane(cx, cy, fogPlane); @@ -398,7 +398,7 @@ array->coverage[ix] = coverage; #endif #ifdef DO_Z - array->z[ix] = (GLdepth) solve_plane(cx, cy, zPlane); + array->z[ix] = (GLdepth) IROUND(solve_plane(cx, cy, zPlane)); #endif #ifdef DO_FOG array->fog[ix] = solve_plane(cx, cy, fogPlane); |