Move framebufChanged into the dirty flag field

This commit is contained in:
Henrik Rydgard
2017-01-24 18:12:20 +01:00
parent b423998c36
commit 7d60ec73be
11 changed files with 42 additions and 31 deletions
+1 -1
View File
@@ -1628,7 +1628,7 @@ void FramebufferManagerVulkan::FlushBeforeCopy() {
// TODO: It's really bad that we are calling SetRenderFramebuffer here with
// all the irrelevant state checking it'll use to decide what to do. Should
// do something more focused here.
SetRenderFrameBuffer(gstate_c.framebufChanged, gstate_c.skipDrawReason);
SetRenderFrameBuffer(gstate_c.IsDirty(DIRTY_FRAMEBUF), gstate_c.skipDrawReason);
drawEngine_->Flush(curCmd_);
}