summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-06-16 01:02:16 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2008-06-16 01:02:16 -0700
commit1738a9a535cbde3a4b9f1b57f2a47139b4affdb9 (patch)
tree3e9e002b61356a272193ee9e20c437ce6fd3bb20 /src
parent776580a6afff9c6403140737ea50f36e9323528a (diff)
r300: Forgot to clear old state before writing new state.
Oooops. Hehe.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c
index 85a6628e40..b672baca1b 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;
}