summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-11-25 20:27:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-11-25 20:27:55 +0000
commit10174c5efdfd916383ba63eb9e14131010459134 (patch)
treeeeaac9505b5adb095404e4585a1ad9fa1a3b6032
parentf24e9c8ad792efb858e3c70a0cd57e81198d8824 (diff)
added missing ctx parameter to _tnl_flush_immediate() calls
-rw-r--r--src/mesa/tnl/t_imm_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_imm_api.c b/src/mesa/tnl/t_imm_api.c
index f5be442222..70c9701aa2 100644
--- a/src/mesa/tnl/t_imm_api.c
+++ b/src/mesa/tnl/t_imm_api.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_api.c,v 1.35.2.1 2002/11/25 13:50:27 keithw Exp $ */
+/* $Id: t_imm_api.c,v 1.35.2.2 2002/11/25 20:27:55 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -128,7 +128,7 @@ _tnl_save_Begin( GLenum mode )
#endif
if (IM->Count > IMM_MAXDATA-8) {
- _tnl_flush_immediate( IM );
+ _tnl_flush_immediate( ctx, IM );
IM = TNL_CURRENT_IM(ctx);
}
@@ -202,7 +202,7 @@ _tnl_Begin( GLenum mode )
{
struct immediate *IM = TNL_CURRENT_IM(ctx);
if (IM->Count > IMM_MAXDATA-8) {
- _tnl_flush_immediate( IM );
+ _tnl_flush_immediate( ctx, IM );
IM = TNL_CURRENT_IM(ctx);
}
}