summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_texstate.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-11-10 13:47:55 +0000
committerDave Airlie <[email protected]>2011-11-11 15:04:53 +0000
commit0dd6bdf632451cda4252007f00e37f2505dc3667 (patch)
treefb2256cce6ceccc41fcf519784b14a53bf63f481 /src/mesa/drivers/dri/radeon/radeon_texstate.c
parent99109e9fe08f13c40ffc55e305a69e51740fc6c4 (diff)
radeon: disable texobj state for 3d texture
for 3d texture fallback, disable the texobj state. Signed-off-by : Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_texstate.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_texstate.c1
1 files changed, 1 insertions, 0 deletions
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;
}