summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_save_api.c
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2004-04-26 10:10:22 +0000
committerAlan Hourihane <[email protected]>2004-04-26 10:10:22 +0000
commit462183fe4cb6df6d90632d9e2cee881c8d26b1cb (patch)
tree0fb5d1c17d80026bec0fe3c2e0449fe30ea9e69e /src/mesa/tnl/t_save_api.c
parent08fa6de85035c428d77cb88b11a4638b706794b5 (diff)
bring over build fixes from stable branch
Diffstat (limited to 'src/mesa/tnl/t_save_api.c')
-rw-r--r--src/mesa/tnl/t_save_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_save_api.c b/src/mesa/tnl/t_save_api.c
index f0f573c0904..1f332c7a9aa 100644
--- a/src/mesa/tnl/t_save_api.c
+++ b/src/mesa/tnl/t_save_api.c
@@ -1481,8 +1481,7 @@ void _tnl_NewList( GLcontext *ctx, GLuint list, GLenum mode )
void _tnl_EndList( GLcontext *ctx )
{
- TNLcontext *tnl = TNL_CONTEXT(ctx);
- assert(tnl->save.vertex_size == 0);
+ assert(TNL_CONTEXT(ctx)->save.vertex_size == 0);
}
void _tnl_BeginCallList( GLcontext *ctx, GLuint list )