summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-12-26 07:41:32 +0000
committerKeith Whitwell <[email protected]>2000-12-26 07:41:32 +0000
commit9ef50d5826c92aa7c9dd19702f18b0dfec59f03c (patch)
tree6f0e520a5bde4c533664a246543068722c0712a6 /src/mesa/tnl
parentcab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 (diff)
fix xscreensaver cores
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_imm_dlist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_imm_dlist.c b/src/mesa/tnl/t_imm_dlist.c
index f5f3bca5cd9..9acd6ea1d79 100644
--- a/src/mesa/tnl/t_imm_dlist.c
+++ b/src/mesa/tnl/t_imm_dlist.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_dlist.c,v 1.1 2000/12/26 05:09:32 keithw Exp $ */
+/* $Id: t_imm_dlist.c,v 1.2 2000/12/26 07:41:32 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -187,7 +187,7 @@ execute_compiled_cassette( GLcontext *ctx, void *data )
TNLvertexcassette *node = (TNLvertexcassette *)data;
struct immediate *IM = node->IM;
- FLUSH_VERTICES( ctx, 0 );
+/* FLUSH_VERTICES( ctx, 0 ); */
if (ctx->NewState)
gl_update_state(ctx);
@@ -369,6 +369,7 @@ _tnl_NewList( GLcontext *ctx, GLuint list, GLenum mode )
/* Set current Begin/End state to unknown:
*/
IM->BeginState = VERT_BEGIN_0;
+ ctx->Driver.CurrentSavePrimitive = PRIM_UNKNOWN;
}