summaryrefslogtreecommitdiff
path: root/src/mesa/main/lines.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-11-08 14:36:32 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-11-08 14:36:32 +0000
commit19f90e35ff1419169a2d3522e55e4de05b7ab14c (patch)
tree56a12542e66713193ccc3aa305bd4fc70b63599b /src/mesa/main/lines.c
parent327c69127cf6203681d418a76186f70cc71b9212 (diff)
flush pb after each line segment - for conformance
Diffstat (limited to 'src/mesa/main/lines.c')
-rw-r--r--src/mesa/main/lines.c32
1 files changed, 16 insertions, 16 deletions
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);
}