From 904ecb2355978fb5bf709d287e82c9a8c6aeeca2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 27 Jun 2000 23:38:45 +0000 Subject: [PATCH] initialize TextureStack matrices --- src/mesa/main/context.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index eb9ed313bfd..ccb7cc00a46 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.73 2000/06/27 22:10:00 brianp Exp $ */ +/* $Id: context.c,v 1.74 2000/06/27 23:38:45 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -780,10 +780,11 @@ init_attrib_groups( GLcontext *ctx ) } /* Texture matrix */ - for (i=0; iTextureMatrix[i] ); ctx->TextureStackDepth[i] = 0; for (j = 0; j < MAX_TEXTURE_STACK_DEPTH - 1; j++) { + gl_matrix_ctr( &ctx->TextureStack[i][j] ); ctx->TextureStack[i][j].inv = 0; } } -- 2.30.2