summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2010-01-16 15:21:52 +0100
committerMaciej Cencora <[email protected]>2010-01-19 23:38:33 +0100
commitacac99e35ac28e3d7209b6891dd197bf94055793 (patch)
tree72c9a7c204d8cb18f24b78d9f64750199a8e0fe6 /src
parentf2fea26269ac6b386f78fb68168fade4ae3290df (diff)
r300: use nearest texture filtering for accelerated blits
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c
index 8a9c1c8beb0..4f89a314724 100644
--- a/src/mesa/drivers/dri/r300/r300_blit.c
+++ b/src/mesa/drivers/dri/r300/r300_blit.c
@@ -150,8 +150,8 @@ static void r300_emit_tx_setup(struct r300_context *r300,
(R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_T_SHIFT) |
(R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_R_SHIFT) |
R300_TX_MIN_FILTER_MIP_NONE |
- R300_TX_MIN_FILTER_LINEAR |
- R300_TX_MAG_FILTER_LINEAR |
+ R300_TX_MIN_FILTER_NEAREST |
+ R300_TX_MAG_FILTER_NEAREST |
(0 << 28));
OUT_BATCH_REGVAL(R300_TX_FILTER1_0, 0);
OUT_BATCH_REGVAL(R300_TX_SIZE_0,