From: Dave Airlie Date: Thu, 10 Nov 2011 13:47:55 +0000 (+0000) Subject: radeon: disable texobj state for 3d texture X-Git-Tag: 062012170305~3186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0dd6bdf632451cda4252007f00e37f2505dc3667;p=profile%2Fivi%2Fmesa.git radeon: disable texobj state for 3d texture for 3d texture fallback, disable the texobj state. Signed-off-by : Dave Airlie --- diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c index 4a4ea02..e6fb121 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texstate.c +++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c @@ -1103,6 +1103,7 @@ static GLboolean radeonUpdateTextureUnit( struct gl_context *ctx, int unit ) r100ContextPtr rmesa = R100_CONTEXT(ctx); if (ctx->Texture.Unit[unit]._ReallyEnabled & TEXTURE_3D_BIT) { + disable_tex_obj_state(rmesa, unit); rmesa->state.texture.unit[unit].texobj = NULL; return GL_FALSE; }