From: Brian Paul Date: Tue, 1 Sep 2009 21:34:16 +0000 (-0600) Subject: mesa: replace 8 with MAX_TEXTURE_UNITS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d55a28e3dc712342e4a2f25aa9b661add7461e82;p=mesa.git mesa: replace 8 with MAX_TEXTURE_UNITS --- 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