projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb75ca1
)
fix tex env mode GL_BLEND for GL_INTENSITY texture formats
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Thu, 17 Jun 2004 20:54:46 +0000
(20:54 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Thu, 17 Jun 2004 20:54:46 +0000
(20:54 +0000)
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index de247ebcad0d6e4557b061f21605d9f1216da770..0f3eea6f335c176fea7d1a27d2cd3b711025d077 100644
(file)
--- 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: