diff options
author | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-06-17 20:54:46 +0000 |
---|---|---|
committer | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-06-17 20:54:46 +0000 |
commit | 6c1833e37223edbcb818b6d98bd62058ce14dd86 (patch) | |
tree | fb677b32b6b90239ecc61dee2ca369f20201a2b2 /src/mesa/main | |
parent | fb75ca1b65e5fe8d099c29dc984ad42cbe269447 (diff) |
fix tex env mode GL_BLEND for GL_INTENSITY texture formats
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index de247ebcad..0f3eea6f33 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -253,6 +253,8 @@ calculate_derived_texenv( struct gl_tex_env_combine_state *state, break; case GL_INTENSITY: mode_a = GL_INTERPOLATE; + state->SourceA[0] = GL_CONSTANT; + state->OperandA[2] = GL_SRC_ALPHA; /* FALLTHROUGH */ case GL_LUMINANCE: case GL_RGB: |