aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vtxfmt.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-11 23:55:19 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-11 23:55:19 +0000
commit57ffddba9870a0e602ae454e13072a0af48fa150 (patch)
treebfa5881876abaa1a8d906d2cc31c582330359e7e /src/mesa/main/vtxfmt.c
parentde6a2e0d194d1afa1a917cff7e80d77773b73c39 (diff)
Minor cleanups.
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
-rw-r--r--src/mesa/main/vtxfmt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
index d5660e8b54f..b248cb85327 100644
--- a/src/mesa/main/vtxfmt.c
+++ b/src/mesa/main/vtxfmt.c
@@ -1,4 +1,4 @@
-/* $Id: vtxfmt.c,v 1.3 2001/03/11 23:49:20 gareth Exp $ */
+/* $Id: vtxfmt.c,v 1.4 2001/03/11 23:55:19 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -156,9 +156,7 @@ void _mesa_init_exec_vtxfmt( GLcontext *ctx )
void _mesa_install_exec_vtxfmt( GLcontext *ctx, GLvertexformat *vfmt )
{
- struct gl_tnl_module *tnl = &(ctx->TnlModule);
-
- tnl->Current = vfmt;
+ ctx->TnlModule.Current = vfmt;
_mesa_restore_exec_vtxfmt( ctx );
if ( ctx->ExecPrefersFloat != vfmt->prefer_float_colors )
_mesa_loopback_prefer_float( ctx->Exec, vfmt->prefer_float_colors );