diff options
| author | weihuoya <zwdreams@gmail.com> | 2019-01-08 18:28:59 +0800 |
|---|---|---|
| committer | weihuoya <zwdreams@gmail.com> | 2019-01-08 18:28:59 +0800 |
| commit | 66a7db3850480bf7f1303fc1251d64a01091fef2 (patch) | |
| tree | e3747265776055b97cbf8c08cc8a8ab2318d2be1 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 3fa81f39fb577214d2fe83b51eac8ce2430aaa31 (diff) | |
Always flush on swap
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index ba60e1636c..7e01182127 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -751,11 +751,19 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const Core::Callback_VideoCopiedToXFB(true); } + else + { + Flush(); + } // Update our last xfb values m_last_xfb_width = (fbStride < 1 || fbStride > MAX_XFB_WIDTH) ? MAX_XFB_WIDTH : fbStride; m_last_xfb_height = (fbHeight < 1 || fbHeight > MAX_XFB_HEIGHT) ? MAX_XFB_HEIGHT : fbHeight; } + else + { + Flush(); + } } bool Renderer::IsFrameDumping() |
