summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-03-24 11:19:09 +1000
committerDave Airlie <[email protected]>2009-03-24 11:19:09 +1000
commit0a725db10c1491539d48370df7207206538bf945 (patch)
tree13a082aa44238e58bcc2ec61f3e47225e5f12793 /src/mesa/drivers/dri/r200
parentccd18f462cccd238ff0d839004d43a3102f09ff3 (diff)
radeon/r200/r300: set the texture depth correctly for DRI2
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c
index 6fd0575898f..d3898d0900d 100644
--- a/src/mesa/drivers/dri/r200/r200_context.c
+++ b/src/mesa/drivers/dri/r200/r200_context.c
@@ -338,12 +338,6 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual,
return GL_FALSE;
}
- rmesa->radeon.texture_depth = driQueryOptioni (&rmesa->radeon.optionCache,
- "texture_depth");
- if (rmesa->radeon.texture_depth == DRI_CONF_TEXTURE_DEPTH_FB)
- rmesa->radeon.texture_depth = ( screen->cpp == 4 ) ?
- DRI_CONF_TEXTURE_DEPTH_32 : DRI_CONF_TEXTURE_DEPTH_16;
-
rmesa->radeon.swtcl.RenderIndex = ~0;
rmesa->radeon.hw.all_dirty = 1;