projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51334d8
)
mesa: replace 8 with MAX_TEXTURE_UNITS
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 21:34:16 +0000
(15:34 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 23:39:31 +0000
(17:39 -0600)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index 3e5d65c8755a88c605a38e67a8dd3a56f36a1928..f19bb993000fd1fc34e4346dedcdf15b459e8ed8 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-109,7
+109,7
@@
struct state_key {
GLuint NumArgsA:3;
GLuint ModeA:5;
struct mode_opt OptA[MAX_COMBINER_TERMS];
- } unit[
8
];
+ } unit[
MAX_TEXTURE_UNITS
];
};
#define FOG_LINEAR 0