diff options
author | Brian Paul <[email protected]> | 2009-09-01 15:34:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-01 17:39:31 -0600 |
commit | d55a28e3dc712342e4a2f25aa9b661add7461e82 (patch) | |
tree | c69fbf006284f4091115b9e83acc0d85185b1534 | |
parent | 51334d840112557d7351b53be1208cb228add2cf (diff) |
mesa: replace 8 with MAX_TEXTURE_UNITS
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 3e5d65c8755..f19bb993000 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 |