summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/Render.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2016-10-04 17:25:40 -0700
committerGitHub <noreply@github.com>2016-10-04 17:25:40 -0700
commit50fef592d7743e970a5ead44526918215f91fdc8 (patch)
treec5748cded9c22aafdfd23f79658d8b80be6330ce /Source/Core/VideoBackends/D3D/Render.cpp
parent9be6f38988a8bf2315ff129c8435320b0a8b3874 (diff)
parent43c48a6f486c600fad263a13f0a35dea5d7f67df (diff)
Merge pull request #4296 from RisingFog/fix_frame_dump
Fix frame dumps on file close in certain situations
Diffstat (limited to 'Source/Core/VideoBackends/D3D/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/Render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp
index ff0a6f396a..2997173014 100644
--- a/Source/Core/VideoBackends/D3D/Render.cpp
+++ b/Source/Core/VideoBackends/D3D/Render.cpp
@@ -923,8 +923,8 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
{
if (bLastFrameDumped && bAVIDumping)
{
- std::vector<u8>().swap(frame_data);
AVIDump::Stop();
+ std::vector<u8>().swap(frame_data);
bAVIDumping = false;
OSD::AddMessage("Stop dumping frames to AVI", 2000);
}