diff options
author | Brian Paul <[email protected]> | 2001-04-17 21:25:53 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-04-17 21:25:53 +0000 |
commit | bcfe3936a8722f43639ad853649c7f0ea8591cf3 (patch) | |
tree | 209385bdbc9277c6b72f5905e77b278ee3f0ab53 /src/mesa/main/attrib.c | |
parent | 15eddf38fb2418f2e9703569e66e9f94a614e405 (diff) |
Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r-- | src/mesa/main/attrib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index e856dc1f444..0acb2a95975 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1,4 +1,4 @@ -/* $Id: attrib.c,v 1.48 2001/04/11 23:22:20 brianp Exp $ */ +/* $Id: attrib.c,v 1.49 2001/04/17 21:25:53 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -602,7 +602,8 @@ pop_texture_group(GLcontext *ctx, const struct gl_texture_attrib *texAttrib) _mesa_TexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, unit->LodBias); } - if (ctx->Extensions.EXT_texture_env_combine) { + if (ctx->Extensions.EXT_texture_env_combine || + ctx->Extensions.ARB_texture_env_combine) { _mesa_TexEnvi(GL_TEXTURE_ENV, GL_COMBINE_RGB_EXT, unit->CombineModeRGB); _mesa_TexEnvi(GL_TEXTURE_ENV, GL_COMBINE_ALPHA_EXT, |