From 19f90e35ff1419169a2d3522e55e4de05b7ab14c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 8 Nov 1999 14:36:32 +0000 Subject: flush pb after each line segment - for conformance --- src/mesa/main/lines.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/mesa/main/lines.c') diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c index 50b13e83f2..ee3ab24ca9 100644 --- a/src/mesa/main/lines.c +++ b/src/mesa/main/lines.c @@ -1,4 +1,4 @@ -/* $Id: lines.c,v 1.4 1999/11/08 07:36:44 brianp Exp $ */ +/* $Id: lines.c,v 1.5 1999/11/08 14:36:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -130,7 +130,7 @@ static void flat_ci_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -158,7 +158,7 @@ static void flat_ci_z_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -184,7 +184,7 @@ static void flat_rgba_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -213,7 +213,7 @@ static void flat_rgba_z_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -240,7 +240,7 @@ static void smooth_ci_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -270,7 +270,7 @@ static void smooth_ci_z_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -301,7 +301,7 @@ static void smooth_rgba_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -335,7 +335,7 @@ static void smooth_rgba_z_line( GLcontext *ctx, #include "linetemp.h" ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -416,7 +416,7 @@ static void general_smooth_ci_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -481,7 +481,7 @@ static void general_flat_ci_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -576,7 +576,7 @@ static void general_smooth_rgba_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -641,7 +641,7 @@ static void general_flat_rgba_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -701,7 +701,7 @@ static void flat_textured_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -773,7 +773,7 @@ static void smooth_textured_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } @@ -866,7 +866,7 @@ static void smooth_multitextured_line( GLcontext *ctx, } ctx->PB->count = count; - PB_CHECK_FLUSH( ctx, ctx->PB ); + gl_flush_pb(ctx); } -- cgit v1.2.3