All: Only convert depth stencil state if dirty

This commit is contained in:
Henrik Rydgard 2017-01-30 12:02:14 +01:00 committed by Henrik Rydgård
parent e4567c694c
commit e2b179d6e2
12 changed files with 24 additions and 21 deletions

View file

@ -780,7 +780,7 @@ void FramebufferManagerCommon::DrawFramebufferToOutput(const u8 *srcPixels, GEBu
DrawActiveTexture(x, y, w, h, (float)pixelWidth_, (float)pixelHeight_, u0, v0, u1, v1, uvRotation, flags);
}
gstate_c.Dirty(DIRTY_BLEND_STATE);
gstate_c.Dirty(DIRTY_BLEND_STATE | DIRTY_DEPTHSTENCIL_STATE);
}
void FramebufferManagerCommon::DownloadFramebufferOnSwitch(VirtualFramebuffer *vfb) {