diff options
| author | Tilka <tilkax@gmail.com> | 2023-11-12 07:31:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-12 07:31:13 +0000 |
| commit | e5d2deb0174b5be00fbe95fb38942c65ba5d2d74 (patch) | |
| tree | 5e616464a75bc66f11049ab2878ccebf37489b90 /Source/Core/VideoCommon/BPMemory.cpp | |
| parent | f35ee227550ccb6fb1feb9b7c0ab2f7428089824 (diff) | |
| parent | ac9079f2cad9953958112da158b2ffb6c5f2e4a8 (diff) | |
Merge pull request #12287 from Tilka/blending
VideoCommon: copy software renderer logic for blend mode priorities
Diffstat (limited to 'Source/Core/VideoCommon/BPMemory.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPMemory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BPMemory.cpp b/Source/Core/VideoCommon/BPMemory.cpp index 44e120470b..67952dc1ed 100644 --- a/Source/Core/VideoCommon/BPMemory.cpp +++ b/Source/Core/VideoCommon/BPMemory.cpp @@ -11,8 +11,8 @@ BPMemory bpmem; bool BlendMode::UseLogicOp() const { - // Logicop bit has lowest priority. - if (subtract || blendenable || !logicopenable) + // Blending overrides the logicop bit. + if (blendenable || !logicopenable) return false; // Fast path for Kirby's Return to Dreamland, they use it with dstAlpha. |
