Fix for miscolored rects in display lists.

Forward-port stipple bugfix.
This commit is contained in:
Keith Whitwell 2000-07-10 13:22:01 +00:00
parent bdce2d3a19
commit f545e2aedd

View file

@ -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 ); */
}