Browse Source

added default cases to switches to silence compiler warnings

tags/mesa_3_1
Brian Paul 26 years ago
parent
commit
8956d5131d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/mesa/drivers/glide/fxsetup.c

+ 4
- 0
src/mesa/drivers/glide/fxsetup.c View File

@@ -118,6 +118,8 @@ static void fxTexValidate(GLcontext *ctx, struct gl_texture_object *tObj)
case GL_REPEAT:
ti->sClamp=0;
break;
default:
;
}
switch (tObj->WrapT) {
case GL_CLAMP_TO_EDGE:
@@ -128,6 +130,8 @@ static void fxTexValidate(GLcontext *ctx, struct gl_texture_object *tObj)
case GL_REPEAT:
ti->tClamp=0;
break;
default:
;
}

ti->validated=GL_TRUE;

Loading…
Cancel
Save