summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2000-07-10 13:22:01 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2000-07-10 13:22:01 +0000
commitf545e2aedde0d0c09c76a7e772b333163fddba17 (patch)
treee0258660189e8d66e7f5ea225784c1d4254b0676
parentbdce2d3a19aa1450bee5332b537a0098d4071c99 (diff)
Fix for miscolored rects in display lists.
Forward-port stipple bugfix.
-rw-r--r--src/mesa/main/dlist.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index c788bc3eae..15f15242b7 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -1,4 +1,4 @@
-/* $Id: dlist.c,v 1.43 2000/06/12 15:37:18 brianp Exp $ */
+/* $Id: dlist.c,v 1.44 2000/07/10 13:22:01 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -4056,7 +4056,7 @@ static void execute_list( GLcontext *ctx, GLuint list )
break;
case OPCODE_VERTEX_CASSETTE: {
struct immediate *IM;
-
+
if (ctx->NewState)
gl_update_state(ctx);
if (ctx->CompileCVAFlag) {
@@ -4516,6 +4516,7 @@ static void execute_list( GLcontext *ctx, GLuint list )
break;
case OPCODE_RECTF:
(*ctx->Exec->Rectf)( n[1].f, n[2].f, n[3].f, n[4].f );
+ FLUSH_VB( ctx, "dlist rectf" );
break;
case OPCODE_RESET_HISTOGRAM:
(*ctx->Exec->ResetHistogram)( n[1].e );
@@ -4969,8 +4970,6 @@ _mesa_CallLists( GLsizei n, GLenum type, const GLvoid *lists )
ctx->CurrentDispatch = ctx->Save;
_glapi_set_dispatch( ctx->CurrentDispatch );
}
-
-/* RESET_IMMEDIATE( ctx ); */
}