From: Keith Whitwell Date: Mon, 10 Jul 2000 13:22:01 +0000 (+0000) Subject: Fix for miscolored rects in display lists. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f545e2aedde0d0c09c76a7e772b333163fddba17;p=mesa.git Fix for miscolored rects in display lists. Forward-port stipple bugfix. --- diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index c788bc3eaed..15f15242b71 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 ); */ }