From: Roland Scheidegger Date: Tue, 3 Jul 2007 12:27:41 +0000 (+0200) Subject: fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a45176dd85a1cd523498efeebd0481950a1bf58;p=mesa.git fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030) --- 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,