r300: Forgot to clear old state before writing new state.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 16 Jun 2008 08:02:16 +0000 (01:02 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 16 Jun 2008 08:02:16 +0000 (01:02 -0700)
Oooops. Hehe.

src/mesa/drivers/dri/r300/r300_tex.c

index 85a6628e40cee7891c1c7cc998e2cbc71977c52b..b672baca1b627c0fdf9cdd1a09575cdcd385d0e4 100644 (file)
@@ -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;
 }