From 0dd6bdf632451cda4252007f00e37f2505dc3667 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 10 Nov 2011 13:47:55 +0000 Subject: [PATCH] radeon: disable texobj state for 3d texture for 3d texture fallback, disable the texobj state. Signed-off-by : Dave Airlie --- src/mesa/drivers/dri/radeon/radeon_texstate.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2