Fix scaling post-shaders on OpenGL. See #9742

This commit is contained in:
Henrik Rydgård committed 2017-05-31 13:57:57 +02:00
1 parent 33d4f8c7ad
commit cb9b63e75a
3 files changed
+1 -12

No files matched your search

+1
View File
@@ -1022,6 +1022,7 @@ void FramebufferManagerCommon::CopyDisplayToOutput() {
}*/
} else {
draw_->BindFramebufferAsRenderTarget(nullptr, { Draw::RPAction::CLEAR, Draw::RPAction::CLEAR });
draw_->BindFramebufferAsTexture(vfb->fbo, 0, Draw::FB_COLOR_BIT, 0);
draw_->SetScissorRect(0, 0, pixelWidth_, pixelHeight_);
// We are doing the DrawActiveTexture call directly to the backbuffer here. Hence, we must
// flip V.