summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/vbrender.c
diff options
context:
space:
mode:
authoralanh <alanh>2000-11-08 09:49:37 +0000
committeralanh <alanh>2000-11-08 09:49:37 +0000
commitd14f7e032263e808f7baee6dd0300f25efe63a12 (patch)
tree4d290cd3d9cba444f76464b80b78638480038944 /xc/extras/Mesa/src/vbrender.c
parent4457c5826d9e018d70dd732511bab01b5e470aae (diff)
Fix RENDER_POINTS in core mesa & drivers.
Diffstat (limited to 'xc/extras/Mesa/src/vbrender.c')
-rw-r--r--xc/extras/Mesa/src/vbrender.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/extras/Mesa/src/vbrender.c b/xc/extras/Mesa/src/vbrender.c
index c71902330..263dd34fd 100644
--- a/xc/extras/Mesa/src/vbrender.c
+++ b/xc/extras/Mesa/src/vbrender.c
@@ -447,7 +447,7 @@ do { \
*/
#define RENDER_POINTS( start, count ) \
(void) cullmask; \
- (*ctx->Driver.PointsFunc)( ctx, start, count-1 );
+ (*ctx->Driver.PointsFunc)( ctx, start, count );
#define RENDER_LINE( i1, i ) \
@@ -531,7 +531,7 @@ do { \
/* Direct, no clipping or culling.
*/
#define RENDER_POINTS( start, count ) \
- (*ctx->Driver.PointsFunc)( ctx, start, count-1 )
+ (*ctx->Driver.PointsFunc)( ctx, start, count )
#define RENDER_LINE( i1, i ) \
(*ctx->Driver.LineFunc)( ctx, i1, i, i )
@@ -566,7 +566,7 @@ do { \
/* Direct, with the possibility of clipping.
*/
#define RENDER_POINTS( start, count ) \
- (*ctx->Driver.PointsFunc)( ctx, start, count-1 )
+ (*ctx->Driver.PointsFunc)( ctx, start, count )
#define RENDER_LINE( i1, i ) \
gl_render_clipped_line2( ctx, i1, i )