diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2001-05-03 16:49:27 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2001-05-03 16:49:27 +0000 |
commit | 652a14a2153baf011a9347c6a8820e15ebf9aa2d (patch) | |
tree | ce3a82fb53dd3c0fba9391d627cbe727f49ef00e /src/mesa/tnl/t_imm_dlist.c | |
parent | a03463303dce5526f9439f704b28625329bde554 (diff) |
fix for moebius infinite loop
Diffstat (limited to 'src/mesa/tnl/t_imm_dlist.c')
-rw-r--r-- | src/mesa/tnl/t_imm_dlist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/tnl/t_imm_dlist.c b/src/mesa/tnl/t_imm_dlist.c index 9af32dad0f..598b9d0906 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.15 2001/04/30 21:08:52 keithw Exp $ */ +/* $Id: t_imm_dlist.c,v 1.16 2001/05/03 16:49:27 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -145,12 +145,12 @@ _tnl_compile_cassette( GLcontext *ctx, struct immediate *IM ) im->ref_count--; /* remove CURRENT_IM reference */ ASSERT(im->ref_count > 0); /* it is compiled into a display list */ SET_IMMEDIATE( ctx, new_im ); - _tnl_reset_input( ctx, IMM_MAX_COPIED_VERTS, - new_beginstate, node->SavedBeginState ); + _tnl_reset_compile_input( ctx, IMM_MAX_COPIED_VERTS, + new_beginstate, node->SavedBeginState ); } else { /* Still some room in the current immediate. */ - _tnl_reset_input( ctx, im->Count+1+IMM_MAX_COPIED_VERTS, + _tnl_reset_compile_input( ctx, im->Count+1+IMM_MAX_COPIED_VERTS, new_beginstate, node->SavedBeginState); } } @@ -299,7 +299,7 @@ _tnl_EndList( GLcontext *ctx ) SET_IMMEDIATE( ctx, IM ); IM->ref_count++; - _tnl_reset_input( ctx, IMM_MAX_COPIED_VERTS, 0, 0 ); + _tnl_reset_exec_input( ctx, IMM_MAX_COPIED_VERTS, 0, 0 ); } |