summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_state.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-02-23 00:11:09 +0000
committerJakob Bornecrantz <[email protected]>2011-02-24 00:26:02 +0000
commitfc77dee0bd6499177418be347bac875b12277053 (patch)
tree9d34965db4b98951c7ca860d4b807028009a82ce /src/gallium/drivers/i915/i915_state.c
parent4407e5078f6083e4e56ba5970d0fa10d504ed45b (diff)
i915g: Enable mirror repeat wrap mode
Diffstat (limited to 'src/gallium/drivers/i915/i915_state.c')
-rw-r--r--src/gallium/drivers/i915/i915_state.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c
index f380708847b..58bbbd1de2c 100644
--- a/src/gallium/drivers/i915/i915_state.c
+++ b/src/gallium/drivers/i915/i915_state.c
@@ -58,10 +58,8 @@ translate_wrap_mode(unsigned wrap)
return TEXCOORDMODE_CLAMP_EDGE;
case PIPE_TEX_WRAP_CLAMP_TO_BORDER:
return TEXCOORDMODE_CLAMP_BORDER;
- /*
- case PIPE_TEX_WRAP_MIRRORED_REPEAT:
+ case PIPE_TEX_WRAP_MIRROR_REPEAT:
return TEXCOORDMODE_MIRROR;
- */
default:
return TEXCOORDMODE_WRAP;
}