Silence some -Wswitch-default warnings.

This commit is contained in:
Rohit Nirmal 2014-12-02 18:20:52 -06:00
parent 54f1e3a3c1
commit b030d29067
7 changed files with 20 additions and 17 deletions

View file

@ -571,6 +571,9 @@ void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth
case 7:
color = MakeRGBA(red2, green2, blue2, 0);
break;
default:
color = 0;
break;
}
*((u32*)dst) = color;