aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-07-03 14:27:41 +0200
committerRoland Scheidegger <[email protected]>2007-07-03 14:27:41 +0200
commit9a45176dd85a1cd523498efeebd0481950a1bf58 (patch)
tree9d01b5e535efeac26f98569e3d60a9125be99458 /src
parent9220255d75f14e8bea0c4e677d138f002aec55eb (diff)
fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 0c6fa82f112..1a46c10ffa3 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -871,7 +871,7 @@ emit_texenv(struct texenv_fragment_program *p, GLuint unit)
key->unit[unit].OptRGB);
}
else if (key->unit[unit].ModeRGB == MODE_DOT3_RGBA_EXT ||
- key->unit[unit].ModeA == MODE_DOT3_RGBA) {
+ key->unit[unit].ModeRGB == MODE_DOT3_RGBA) {
out = emit_combine( p, dest, WRITEMASK_XYZW, saturate,
unit,