From 1738a9a535cbde3a4b9f1b57f2a47139b4affdb9 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Mon, 16 Jun 2008 01:02:16 -0700 Subject: [PATCH] r300: Forgot to clear old state before writing new state. Oooops. Hehe. --- src/mesa/drivers/dri/r300/r300_tex.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2