diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-04-15 22:05:23 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-04-15 22:06:10 +0200 |
commit | a28ee4aa02429a1ece1172ec7765bc1621f13851 (patch) | |
tree | b76294addc9398d720924194e240f8495afa634f /src/gallium/drivers/r300/r300_state_inlines.h | |
parent | eee220d65d3d37030f33971b02823c614e3eb618 (diff) | |
download | external_mesa3d-a28ee4aa02429a1ece1172ec7765bc1621f13851.zip external_mesa3d-a28ee4aa02429a1ece1172ec7765bc1621f13851.tar.gz external_mesa3d-a28ee4aa02429a1ece1172ec7765bc1621f13851.tar.bz2 |
r300g: fix the MIRROR_CLAMP_TO_BORDER wrap mode
I guess this was a typo.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_inlines.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_inlines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_inlines.h b/src/gallium/drivers/r300/r300_state_inlines.h index 044d70c..480d0f7 100644 --- a/src/gallium/drivers/r300/r300_state_inlines.h +++ b/src/gallium/drivers/r300/r300_state_inlines.h @@ -255,7 +255,7 @@ static INLINE uint32_t r300_translate_wrap(int wrap) case PIPE_TEX_WRAP_MIRROR_CLAMP_TO_EDGE: return R300_TX_CLAMP_TO_EDGE | R300_TX_MIRRORED; case PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER: - return R300_TX_CLAMP_TO_EDGE | R300_TX_MIRRORED; + return R300_TX_CLAMP_TO_BORDER | R300_TX_MIRRORED; default: fprintf(stderr, "r300: Unknown texture wrap %d", wrap); assert(0); |