From: Corbin Simpson Date: Mon, 16 Jun 2008 08:02:16 +0000 (-0700) Subject: r300: Forgot to clear old state before writing new state. X-Git-Tag: 062012170305~18488 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1738a9a535cbde3a4b9f1b57f2a47139b4affdb9;p=profile%2Fivi%2Fmesa.git r300: Forgot to clear old state before writing new state. Oooops. Hehe. --- diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c index 85a6628..b672bac 100644 --- a/src/mesa/drivers/dri/r300/r300_tex.c +++ b/src/mesa/drivers/dri/r300/r300_tex.c @@ -252,6 +252,7 @@ static void r300SetTexLodBias(r300TexObjPtr t, GLfloat bias) b <<= 3; b &= R300_LOD_BIAS_MASK; + t->filter_1 &= ~R300_LOD_BIAS_MASK; t->filter_1 |= b; }