mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Merge pull request #1640 from rohit-n/switch-default
Silence some -Wswitch-default warnings.
This commit is contained in:
commit
d02eb3ca59
7 changed files with 20 additions and 17 deletions
|
@ -959,6 +959,9 @@ union AlphaTest
|
|||
if ((comp0 == ALWAYS && comp1 == ALWAYS) || (comp0 == NEVER && comp1 == NEVER))
|
||||
return PASS;
|
||||
break;
|
||||
|
||||
default:
|
||||
return UNDETERMINED;
|
||||
}
|
||||
return UNDETERMINED;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue