From: Dave Airlie Date: Thu, 10 Nov 2011 13:47:55 +0000 (+0000) Subject: radeon: disable texobj state for 3d texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0dd6bdf632451cda4252007f00e37f2505dc3667;p=mesa.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 4a4ea0232a5..e6fb121390e 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; }