mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix copy/paste mistake from 808eeb3a25
.
I'm pretty sure this was not intentional.
This commit is contained in:
parent
b5126f7236
commit
a3342a72d7
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ void TransformDrawEngine::ApplyBlendState() {
|
|||
setBlendColorv(fixB);
|
||||
glBlendFuncB = GL_CONSTANT_COLOR;
|
||||
} else if (glBlendFuncA == GL_INVALID_ENUM && glBlendFuncB == GL_INVALID_ENUM) {
|
||||
if (blendColorSimilar(fixA, Vec3f::AssignToAll(constantAlpha) - fixB)) {
|
||||
if (blendColorSimilar(fixA, Vec3f::AssignToAll(1.0f) - fixB)) {
|
||||
glBlendFuncA = GL_CONSTANT_COLOR;
|
||||
glBlendFuncB = GL_ONE_MINUS_CONSTANT_COLOR;
|
||||
setBlendColorv(fixA);
|
||||
|
|
Loading…
Add table
Reference in a new issue