summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2005-01-16 13:28:49 +0000
committerAapo Tahkola <[email protected]>2005-01-16 13:28:49 +0000
commit82d14217362faf9893fd47940981a2c5162cc623 (patch)
tree72098c5f1386532afad5509b10b693ddc2519f7b /src/mesa
parentad360a81bdc9076cc09f9241176116efdbba43e4 (diff)
Looks like masking masking t->filter isnt needed anymore.
texwrap still shows some problems with clamp mode with nearest filtering.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index f4dd8bece75..e939daac249 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -1161,11 +1161,6 @@ void r300_setup_textures(GLcontext *ctx)
max_texture_unit=i;
r300->hw.txe.cmd[R300_TXE_ENABLE]|=(1<<i);
- /* Turn off rest of the bits that are wrong. Im going to get rid of this soon, dont worry :) */
- t->filter &= R300_TX_MIN_FILTER_MASK | R300_TX_MAG_FILTER_MASK
- |R300_TX_WRAP_S_MASK | R300_TX_WRAP_T_MASK |
- R300_TX_WRAP_Q_MASK | R300_TX_MAX_ANISO_MASK;
-
r300->hw.tex.filter.cmd[R300_TEX_VALUE_0+i]=t->filter;
/* No idea why linear filtered textures shake when puting random data */