summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_imm_exec.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-05-16 09:28:32 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-05-16 09:28:32 +0000
commitdbd0dad580a6bf501441df95fccf2db718fd5d45 (patch)
tree685981bd51a5528ce8f2075eb982a8875b865353 /src/mesa/tnl/t_imm_exec.c
parentc47a5327d38a978324361a8b1e4201253645da0c (diff)
fix for Jouk's glplanet bug
Diffstat (limited to 'src/mesa/tnl/t_imm_exec.c')
-rw-r--r--src/mesa/tnl/t_imm_exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_exec.c b/src/mesa/tnl/t_imm_exec.c
index 7ed76b02e5..37dd1597a5 100644
--- a/src/mesa/tnl/t_imm_exec.c
+++ b/src/mesa/tnl/t_imm_exec.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_exec.c,v 1.25 2001/05/14 09:00:51 keithw Exp $ */
+/* $Id: t_imm_exec.c,v 1.26 2001/05/16 09:28:32 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -314,6 +314,7 @@ static void _tnl_vb_bind_immediate( GLcontext *ctx, struct immediate *IM )
tmp->Color.Ptr = ctx->Current.Color;
tmp->Color.StrideB = 0;
tmp->Color.Flags = CA_CLIENT_DATA; /* hack */
+ VB->import_source = IM;
VB->importable_data |= VERT_RGBA;
VB->import_data = _tnl_upgrade_current_data;
}