projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8db39
)
initialize TextureStack matrices
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 27 Jun 2000 23:38:45 +0000
(23:38 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 27 Jun 2000 23:38:45 +0000
(23:38 +0000)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index eb9ed313bfdc99d6bd8580b0ad3b89fa40522576..ccb7cc00a4609948f56a9b2d636ff9707ef49dc7 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-1,4
+1,4
@@
-/* $Id: context.c,v 1.7
3 2000/06/27 22:10:00
brianp Exp $ */
+/* $Id: context.c,v 1.7
4 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; i<
MAX_TEXTURE_UNITS; i++) {
+ for (i
= 0; i <
MAX_TEXTURE_UNITS; i++) {
gl_matrix_ctr( &ctx->TextureMatrix[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;
}
}