projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d1421
)
I was wrong...
author
Aapo Tahkola
<aet@rasterburn.org>
Sun, 16 Jan 2005 16:12:05 +0000
(16:12 +0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Sun, 16 Jan 2005 16:12:05 +0000
(16:12 +0000)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index e939daac249ce7e88f86e425ff97dd1b97693e76..ea0c37bbe39a182dc5f6d176aedb87427323e60b 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-1161,6
+1161,9
@@
void r300_setup_textures(GLcontext *ctx)
max_texture_unit=i;
r300->hw.txe.cmd[R300_TXE_ENABLE]|=(1<<i);
+ t->filter &= R300_TX_MAG_FILTER_MASK | R300_TX_MIN_FILTER_MASK | R300_TX_MAX_ANISO_MASK
+ | R300_TX_WRAP_S_MASK | R300_TX_WRAP_T_MASK | R300_TX_WRAP_Q_MASK;
+
r300->hw.tex.filter.cmd[R300_TEX_VALUE_0+i]=t->filter;
/* No idea why linear filtered textures shake when puting random data */