Warning fix

This commit is contained in:
Henrik Rydgard 2014-11-25 23:57:11 +01:00
parent b3c8a82c49
commit a6eb4c7e73

View File

@ -90,17 +90,19 @@ static const D3DSTENCILOP stencilOps[] = {
};
static D3DBLEND toDualSource(D3DBLEND blendfunc) {
#if 0
switch (blendfunc) {
// TODO
#if 0
case D3DBLEND_SRCALPHA:
return D3DBLEND_SRCCOLOR2;
case D3DBLEND_INVSRCALPHA:
return D3DBLEND_INVSRCCOLOR2;
#endif
default:
return blendfunc;
}
#else
return blendfunc;
#endif
}
static D3DBLEND blendColor2Func(u32 fix) {