Merge branch 'master' of https://github.com/openfl/lime into audio
This commit is contained in:
@@ -496,7 +496,12 @@ public:
|
|||||||
glBlendEquation( GL_FUNC_REVERSE_SUBTRACT);
|
glBlendEquation( GL_FUNC_REVERSE_SUBTRACT);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
glBlendFunc(premAlpha ? GL_ONE : GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
|
if (premAlpha){
|
||||||
|
glBlendFunc(GL_ONE,GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
}
|
||||||
glBlendEquation( GL_FUNC_ADD);
|
glBlendEquation( GL_FUNC_ADD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user