From 32551222bc9573ef2d7e705bb91a804db2e09411 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Fri, 27 Jan 2006 12:18:58 +0000 Subject: [PATCH] r300UpdateTextureEnv shouldnt be called. --- src/mesa/drivers/dri/r300/r300_texstate.c | 4 ++-- 1 file 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 -- 2.30.2