mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Warning fix
This commit is contained in:
1 parent
b3c8a82c49
commit
a6eb4c7e73
1 file changed
+4
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user