All: Only convert blend state if "dirty"

This commit is contained in:
Henrik Rydgard authored and Henrik Rydgård committed 2017-08-14 11:14:26 +02:00
1 parent 3960a4d791
commit e4567c694c
12 files changed
+40 -23

No files matched your search

+2
View File
@@ -779,6 +779,8 @@ void FramebufferManagerCommon::DrawFramebufferToOutput(const u8 *srcPixels, GEBu
SetViewport2D(0, 0, pixelWidth_, pixelHeight_);
DrawActiveTexture(x, y, w, h, (float)pixelWidth_, (float)pixelHeight_, u0, v0, u1, v1, uvRotation, flags);
}
gstate_c.Dirty(DIRTY_BLEND_STATE);
}
void FramebufferManagerCommon::DownloadFramebufferOnSwitch(VirtualFramebuffer *vfb) {