aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxsetup.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-01-26 10:38:46 +0000
committerDaniel Borca <[email protected]>2004-01-26 10:38:46 +0000
commitd3682ce37616bb1b33c587263bcb6c4e4eeac313 (patch)
treee65d1604f39c326b19a63324770d1889c726005c /src/mesa/drivers/glide/fxsetup.c
parentc9d2f4ca474c7ae0fcd6d4a7ea6da671b9a4725f (diff)
accomodate FetchTexel and fix some memory leak bugs
Diffstat (limited to 'src/mesa/drivers/glide/fxsetup.c')
-rw-r--r--src/mesa/drivers/glide/fxsetup.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/mesa/drivers/glide/fxsetup.c b/src/mesa/drivers/glide/fxsetup.c
index 45883f465ba..cdfef475564 100644
--- a/src/mesa/drivers/glide/fxsetup.c
+++ b/src/mesa/drivers/glide/fxsetup.c
@@ -161,35 +161,6 @@ fxTexValidate(GLcontext * ctx, struct gl_texture_object *tObj)
ti->baseLevelInternalFormat = tObj->Image[minl]->Format;
- switch (tObj->WrapS) {
- case GL_MIRRORED_REPEAT:
- ti->sClamp = GR_TEXTURECLAMP_MIRROR_EXT;
- break;
- case GL_CLAMP_TO_EDGE: /* CLAMP discarding border */
- case GL_CLAMP:
- ti->sClamp = GR_TEXTURECLAMP_CLAMP;
- break;
- case GL_REPEAT:
- ti->sClamp = GR_TEXTURECLAMP_WRAP;
- break;
- default:
- ; /* silence compiler warning */
- }
- switch (tObj->WrapT) {
- case GL_MIRRORED_REPEAT:
- ti->tClamp = GR_TEXTURECLAMP_MIRROR_EXT;
- break;
- case GL_CLAMP_TO_EDGE: /* CLAMP discarding border */
- case GL_CLAMP:
- ti->tClamp = GR_TEXTURECLAMP_CLAMP;
- break;
- case GL_REPEAT:
- ti->tClamp = GR_TEXTURECLAMP_WRAP;
- break;
- default:
- ; /* silence compiler warning */
- }
-
ti->validated = GL_TRUE;
ti->info.data = NULL;