summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-01 15:34:16 -0600
committerBrian Paul <brianp@vmware.com>2009-09-01 17:39:31 -0600
commitd55a28e3dc712342e4a2f25aa9b661add7461e82 (patch)
treec69fbf006284f4091115b9e83acc0d85185b1534 /src/mesa
parent51334d840112557d7351b53be1208cb228add2cf (diff)
mesa: replace 8 with MAX_TEXTURE_UNITS
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 3e5d65c875..f19bb99300 100644
--- 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