mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
GPU: Fix crash on overlap copy w/o cur target.
This commit is contained in:
1 parent
ae23c3c266
commit
b4e1f6d902
1 file changed
+1
-1
@@ -810,7 +810,7 @@ void FramebufferManagerCommon::CopyToColorFromOverlappingFramebuffers(VirtualFra
|
||||
}
|
||||
}
|
||||
|
||||
if (dst != currentRenderVfb_ && tookActions) {
|
||||
if (currentRenderVfb_ && dst != currentRenderVfb_ && tookActions) {
|
||||
// Will probably just change the name of the current renderpass, since one was started by the reinterpret itself.
|
||||
draw_->BindFramebufferAsRenderTarget(currentRenderVfb_->fbo, { Draw::RPAction::KEEP, Draw::RPAction::KEEP, Draw::RPAction::KEEP }, "After Reinterpret");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user