From: Francisco Jerez Date: Fri, 17 Sep 2010 03:29:48 +0000 (+0200) Subject: dri/nv10: Fix the CLAMP texture wrap mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82c4af33b0d860e27f4c2d3b3d2401c7549de355;p=mesa.git dri/nv10: Fix the CLAMP texture wrap mode. --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_gldefs.h b/src/mesa/drivers/dri/nouveau/nouveau_gldefs.h index fbeed3baeab..46ec14ec55d 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); }