aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_tex.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2008-06-15 17:30:07 -0700
committerCorbin Simpson <[email protected]>2008-06-15 17:30:07 -0700
commitf7b8a13d65e97b8a9812f813cc670e6b712d583d (patch)
tree34b05b9af8cd6b71a0a7ef5ae8e6ab038c50dfbc /src/mesa/drivers/dri/r300/r300_tex.c
parent6e6ca40f29551b6f6cedea954874930e6470b0b9 (diff)
Oops, misordered a few instructions.
Not like it matters, though, since it's not taking effect yet.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c
index 4a989fcde9c..317b9618987 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.c
+++ b/src/mesa/drivers/dri/r300/r300_tex.c
@@ -185,6 +185,7 @@ static GLuint aniso_filter(GLfloat anisotropy)
*/
static void r300SetTexFilter(r300TexObjPtr t, GLenum minf, GLenum magf, GLfloat anisotropy)
{
+ fprintf(stderr, "Here I am!\n");
t->filter &= ~(R300_TX_MIN_FILTER_MASK | R300_TX_MIN_FILTER_MIP_MASK | R300_TX_MAG_FILTER_MASK | R300_TX_MAX_ANISO_MASK);
t->filter_1 &= ~R300_EDGE_ANISO_EDGE_ONLY;
@@ -1006,9 +1007,9 @@ static void r300TexEnv(GLcontext * ctx, GLenum target,
int unit = 1;
if (b != (rmesa->hw.tex.filter_1.cmd[R300_TEX_CMD_0 + unit] & R300_LOD_BIAS_MASK)) {
- R300_STATECHANGE(rmesa, tex.filter_1);
rmesa->hw.tex.filter_1.cmd[R300_TEX_CMD_0 + unit] &= ~R300_LOD_BIAS_MASK;
rmesa->hw.tex.filter_1.cmd[R300_TEX_CMD_0 + unit] |= b;
+ R300_STATECHANGE(rmesa, tex.filter_1);
}
break;
}