From: Aapo Tahkola Date: Fri, 27 Jan 2006 12:18:58 +0000 (+0000) Subject: r300UpdateTextureEnv shouldnt be called. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32551222bc9573ef2d7e705bb91a804db2e09411;p=mesa.git r300UpdateTextureEnv shouldnt be called. --- 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