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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1738a9a535cbde3a4b9f1b57f2a47139b4affdb9;p=mesa.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 85a6628e40c..b672baca1b6 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; }