summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2005-10-28 07:00:41 +0000
committerEric Anholt <[email protected]>2005-10-28 07:00:41 +0000
commit9c8f649930a523e8160d36d3971cd4505e73c103 (patch)
treeb1019d686ba49027af8ffedd452dfbae094fbdc1 /src
parentc57be49099428d6868b9f9215c6b2af9bcfd5a41 (diff)
GC a bit of dead code I noticed while looking at texwrap.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c
index 62f3dcfeef2..0d51d6da374 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.c
+++ b/src/mesa/drivers/dri/r300/r300_tex.c
@@ -64,7 +64,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
GLenum rwrap)
{
- GLboolean is_clamp = GL_FALSE;
unsigned long hw_swrap=0, hw_twrap=0, hw_qwrap=0;
t->filter &=
@@ -76,7 +75,6 @@ static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
break;
case GL_CLAMP:
hw_swrap |= R300_TX_CLAMP;
- is_clamp = GL_TRUE;
break;
case GL_CLAMP_TO_EDGE:
hw_swrap |= R300_TX_CLAMP_TO_EDGE;
@@ -89,7 +87,6 @@ static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
break;
case GL_MIRROR_CLAMP_EXT:
hw_swrap |= R300_TX_CLAMP | R300_TX_MIRRORED;
- is_clamp = GL_TRUE;
break;
case GL_MIRROR_CLAMP_TO_EDGE_EXT:
hw_swrap |= R300_TX_CLAMP_TO_EDGE | R300_TX_MIRRORED;
@@ -107,7 +104,6 @@ static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
break;
case GL_CLAMP:
hw_twrap |= R300_TX_CLAMP;
- is_clamp = GL_TRUE;
break;
case GL_CLAMP_TO_EDGE:
hw_twrap |= R300_TX_CLAMP_TO_EDGE;
@@ -120,7 +116,6 @@ static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
break;
case GL_MIRROR_CLAMP_EXT:
hw_twrap |= R300_TX_CLAMP | R300_TX_MIRRORED;
- is_clamp = GL_TRUE;
break;
case GL_MIRROR_CLAMP_TO_EDGE_EXT:
hw_twrap |= R300_TX_CLAMP_TO_EDGE | R300_TX_MIRRORED;
@@ -138,7 +133,6 @@ static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
break;
case GL_CLAMP:
hw_qwrap |= R300_TX_CLAMP;
- is_clamp = GL_TRUE;
break;
case GL_CLAMP_TO_EDGE:
hw_qwrap |= R300_TX_CLAMP_TO_EDGE;
@@ -151,7 +145,6 @@ static void r300SetTexWrap(r300TexObjPtr t, GLenum swrap, GLenum twrap,
break;
case GL_MIRROR_CLAMP_EXT:
hw_qwrap |= R300_TX_CLAMP | R300_TX_MIRRORED;
- is_clamp = GL_TRUE;
break;
case GL_MIRROR_CLAMP_TO_EDGE_EXT:
hw_qwrap |= R300_TX_CLAMP_TO_EDGE | R300_TX_MIRRORED;