summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-03 12:20:52 -0600
committerBrian <[email protected]>2007-07-03 12:20:52 -0600
commit45b5c44eb9a2d183bf2096ed6f561afd53673965 (patch)
treefe08688e123f21c21f0c5ed73b64021b0556bdfb /src/mesa
parente3456c1028cca7500826d942f1d4662d57ac7a48 (diff)
bring over Roland's DOT3_RGBA fix from master
Diffstat (limited to 'src/mesa')
-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,