diff options
author | Maciej Cencora <m.cencora@gmail.com> | 2010-01-16 15:21:52 +0100 |
---|---|---|
committer | Maciej Cencora <m.cencora@gmail.com> | 2010-01-16 16:12:36 +0100 |
commit | 0577e4fa1e9f49be60d0fdc0a462f52b0745dc79 (patch) | |
tree | b2b045eb0611e17b9a25f67e93f8efea437b3cf4 | |
parent | 9859435c9d582079afb45ab283c507d98e402854 (diff) |
r300: use nearest texture filtering for accelerated blits
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_blit.c | 4 |
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 8a9c1c8beb..4f89a31472 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, |