Fix some "double-binds" of the backbuffer.

These are already eliminated by the queuerunner, but better not to
generate them in the first place, for easier sanity checks.
This commit is contained in:
Henrik Rydgård committed 2024-01-30 10:44:18 +01:00
1 parent 18ecef1aa5
commit ea180e54c9
4 files changed
+8 -2

No files matched your search

+1
View File
@@ -1547,6 +1547,7 @@ void FramebufferManagerCommon::CopyDisplayToOutput(bool reallyDirty) {
// No framebuffer to display! Clear to black.
if (useBufferedRendering_) {
draw_->BindFramebufferAsRenderTarget(nullptr, { Draw::RPAction::CLEAR, Draw::RPAction::CLEAR, Draw::RPAction::CLEAR }, "CopyDisplayToOutput");
presentation_->NotifyPresent();
}
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE);
return;