summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-17 05:29:48 +0200
committerFrancisco Jerez <currojerez@riseup.net>2010-09-17 05:34:32 +0200
commit82c4af33b0d860e27f4c2d3b3d2401c7549de355 (patch)
treeaf14b04a68caf689e556eb1a6d1b7982c684cbf2 /src/mesa/drivers
parent4b27c614cf4b06ad0c2a0414f60737f19eed021d (diff)
dri/nv10: Fix the CLAMP texture wrap mode.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_gldefs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_gldefs.h b/src/mesa/drivers/dri/nouveau/nouveau_gldefs.h
index fbeed3baea..46ec14ec55 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_gldefs.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_gldefs.h
@@ -228,12 +228,11 @@ nvgl_wrap_mode(unsigned wrap)
return 0x1;
case GL_MIRRORED_REPEAT:
return 0x2;
+ case GL_CLAMP:
case GL_CLAMP_TO_EDGE:
return 0x3;
case GL_CLAMP_TO_BORDER:
return 0x4;
- case GL_CLAMP:
- return 0x5;
default:
assert(0);
}