GPU: add default case in GPU::setFinalColorBG draw switch

In practice it cannot happen but this silences more than
100 lines of gcc warnings so...
This commit is contained in:
riccardom 2012-03-18 15:53:33 +00:00
parent a931324050
commit 2bcac4e190
1 changed files with 1 additions and 0 deletions

View File

@ -736,6 +736,7 @@ FORCEINLINE void GPU::setFinalColorBG(u16 color, const u32 x)
case 5: draw = _master_setFinalBGColor<BACKDROP,Blend,true>(color,x); break;
case 6: draw = _master_setFinalBGColor<BACKDROP,Increase,true>(color,x); break;
case 7: draw = _master_setFinalBGColor<BACKDROP,Decrease,true>(color,x); break;
default: draw = false; break;
};
if(BACKDROP || draw) //backdrop must always be drawn