Dual source blend: Remove bad #ifdef that killed dual src code on Android... oops. Re-enable on nVidia Shield TV/Tablet. Fixes #10136 properly.
This commit is contained in:
parent
2498ce5e3e
commit
2dda2bfa78
3 changed files with 2 additions and 15 deletions
|
@ -784,12 +784,10 @@ static const BlendEq eqLookup[] = {
|
|||
|
||||
static BlendFactor toDualSource(BlendFactor blendfunc) {
|
||||
switch (blendfunc) {
|
||||
#if !defined(USING_GLES2) // TODO: Remove when we have better headers
|
||||
case BlendFactor::SRC_ALPHA:
|
||||
return BlendFactor::SRC1_ALPHA;
|
||||
case BlendFactor::ONE_MINUS_SRC_ALPHA:
|
||||
return BlendFactor::ONE_MINUS_SRC1_ALPHA;
|
||||
#endif
|
||||
default:
|
||||
return blendfunc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue