diff options
Diffstat (limited to 'src/mesa/main/texenv.c')
-rw-r--r-- | src/mesa/main/texenv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/texenv.c b/src/mesa/main/texenv.c index 1df3890d471..9d47c7bba45 100644 --- a/src/mesa/main/texenv.c +++ b/src/mesa/main/texenv.c @@ -60,15 +60,13 @@ set_env_mode(struct gl_context *ctx, case GL_BLEND: case GL_DECAL: case GL_REPLACE: + case GL_ADD: legal = GL_TRUE; break; case GL_REPLACE_EXT: mode = GL_REPLACE; /* GL_REPLACE_EXT != GL_REPLACE */ legal = GL_TRUE; break; - case GL_ADD: - legal = ctx->Extensions.EXT_texture_env_add; - break; case GL_COMBINE: legal = (ctx->Extensions.EXT_texture_env_combine || ctx->Extensions.ARB_texture_env_combine); |