Kaynağa Gözat

added default cases to switches to silence compiler warnings

tags/mesa_3_1
Brian Paul 26 yıl önce
ebeveyn
işleme
8956d5131d
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4
    0
      src/mesa/drivers/glide/fxsetup.c

+ 4
- 0
src/mesa/drivers/glide/fxsetup.c Dosyayı Görüntüle

@@ -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…
İptal
Kaydet