summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-03-11 18:13:08 +0000
committerGlenn Rice <glennricster@gmail.com>2011-03-11 18:13:08 +0000
commit2a694edf93591c326f013470d4d657e895fa18dd (patch)
treea018216bbbbce7d17ffc27a91dfaaafb0daa6a45 /Source
parente5f7c5c58a1362d7b94436892c3e8924be74c851 (diff)
Probably should use the IOFile built in mechanism to check if the file is open.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7332 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
index cfb2938e18..543f47929e 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
@@ -517,7 +517,7 @@ Renderer::~Renderer()
s_bAVIDumping = false;
}
#else
- if (s_bLastFrameDumped)
+ if (f_pFrameDump.IsOpen())
f_pFrameDump.Close();
s_bLastFrameDumped = false;
#endif