diff options
author | Dave Airlie <[email protected]> | 2009-03-24 11:19:09 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-03-24 11:19:09 +1000 |
commit | 0a725db10c1491539d48370df7207206538bf945 (patch) | |
tree | 13a082aa44238e58bcc2ec61f3e47225e5f12793 /src/mesa/drivers/dri/r300 | |
parent | ccd18f462cccd238ff0d839004d43a3102f09ff3 (diff) |
radeon/r200/r300: set the texture depth correctly for DRI2
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index c6bd69ed146..87ec68a2cd8 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -328,12 +328,6 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual, } /* Init r300 context data */ - r300->radeon.texture_depth = driQueryOptioni(&r300->radeon.optionCache, - "texture_depth"); - if (r300->radeon.texture_depth == DRI_CONF_TEXTURE_DEPTH_FB) - r300->radeon.texture_depth = (screen->cpp == 4) ? - DRI_CONF_TEXTURE_DEPTH_32 : DRI_CONF_TEXTURE_DEPTH_16; - /* Set the maximum texture size small enough that we can guarentee that * all texture units can bind a maximal texture and have them both in * texturable memory at once. |