summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2006-01-27 12:18:58 +0000
committerAapo Tahkola <[email protected]>2006-01-27 12:18:58 +0000
commit32551222bc9573ef2d7e705bb91a804db2e09411 (patch)
treed9046fc36724411529917ab6af2de618a7acf058
parent77667266a7d08fd34881c1a2354d0bf9ad3f4d4e (diff)
r300UpdateTextureEnv shouldnt be called.
-rw-r--r--src/mesa/drivers/dri/r300/r300_texstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c
index 7a3d9197c9d..ca42afdc1fd 100644
--- a/src/mesa/drivers/dri/r300/r300_texstate.c
+++ b/src/mesa/drivers/dri/r300/r300_texstate.c
@@ -1124,7 +1124,7 @@ static GLboolean update_tex_common(GLcontext * ctx, int unit)
rmesa->NewGLState |= _NEW_TEXTURE_MATRIX;
}
#endif
-
+#if 0
format = tObj->Image[0][tObj->BaseLevel]->_BaseFormat;
if (rmesa->state.texture.unit[unit].format != format ||
rmesa->state.texture.unit[unit].envMode != texUnit->EnvMode) {
@@ -1134,7 +1134,7 @@ static GLboolean update_tex_common(GLcontext * ctx, int unit)
return GL_FALSE;
}
}
-
+#endif
#if R200_MERGED
FALLBACK(&rmesa->radeon, RADEON_FALLBACK_BORDER_MODE, t->border_fallback);
#endif