projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee220d
)
r300g: fix the MIRROR_CLAMP_TO_BORDER wrap mode
author
Marek Olšák
<maraeo@gmail.com>
Thu, 15 Apr 2010 20:05:23 +0000
(22:05 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 15 Apr 2010 20:06:10 +0000
(22:06 +0200)
I guess this was a typo.
src/gallium/drivers/r300/r300_state_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state_inlines.h
b/src/gallium/drivers/r300/r300_state_inlines.h
index 044d70cbe821d9b382f99f0bb510cd1868687738..480d0f7c4ae0c110d9a0c85124bb1792c10a98b8 100644
(file)
--- 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);