Merge pull request #16024 from unknownbrackets/logicop-simulate

GPU: Fix simulating logicop with blend and shader
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2022-09-14 08:41:29 +02:00
commit cf2ad5ceaf
3 files changed
+27 -13

No files matched your search

+1 -1
View File
@@ -1081,7 +1081,7 @@ bool FramebufferManagerCommon::BindFramebufferAsColorTexture(int stage, VirtualF
// currentRenderVfb_ will always be set when this is called, except from the GE debugger.
// Let's just not bother with the copy in that case.
bool skipCopy = !(flags & BINDFBCOLOR_MAY_COPY) || GPUStepping::IsStepping();
bool skipCopy = !(flags & BINDFBCOLOR_MAY_COPY);
// Currently rendering to this framebuffer. Need to make a copy.
if (!skipCopy && framebuffer == currentRenderVfb_) {