diff options
author | Brian Paul <[email protected]> | 2000-10-18 15:02:59 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-10-18 15:02:59 +0000 |
commit | ce938b307e5dcd06a03baf60903c2ecd682cd8d5 (patch) | |
tree | 435edda496e82f84fab7d0b0784db4336b940983 /src/mesa/main/state.c | |
parent | d3672166787028857ea51ad9570cab7e173898c3 (diff) |
More fixes for MAX_TEXTURE_UNITS > 2. Seems to work now.
Misc code clean-ups, minor bug fixes.
MAX_TEXTURE_UNITS now defaults to 3.
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 2afe84d0e2b..eeb73634549 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -1,4 +1,4 @@ -/* $Id: state.c,v 1.30 2000/10/02 15:45:12 brianp Exp $ */ +/* $Id: state.c,v 1.31 2000/10/18 15:02:59 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -825,7 +825,7 @@ void gl_update_state( GLcontext *ctx ) if (ctx->Texture.Unit[0].EnvMode == ctx->Texture.Unit[0].LastEnvMode && ctx->Texture.Unit[1].EnvMode == ctx->Texture.Unit[1].LastEnvMode #if MAX_TEXTURE_UNITS > 2 - && ctx->Texture.Unit[2].EnvMode == ctx->Texture.Unit[2].LastEnvMode) + && ctx->Texture.Unit[2].EnvMode == ctx->Texture.Unit[2].LastEnvMode #endif ) { ctx->NewState &= ~NEW_TEXTURE_ENV; |