summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-25 20:27:47 +0000
committerBrian Paul <[email protected]>2002-11-25 20:27:47 +0000
commita87514f58e1ef21bad296e1d75b75627ca1f0568 (patch)
tree058c6da9b3c7f443f469af4402a4e4d89425a6ef
parent3ac375b1749102f434e34197f1a67212c33797b9 (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 1bef32b3ffe..2c91a810de9 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.36 2002/11/25 13:55:31 keithw Exp $ */
+/* $Id: t_imm_api.c,v 1.37 2002/11/25 20:27:47 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);
}
}