summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-10-08 18:26:43 +0200
committerdegasus <wickmarkus@web.de>2016-10-08 18:26:43 +0200
commit21e42c68c4ec1e9e9925f3cfeefed12054cc6b71 (patch)
tree9b012d245e87075ed886c2f1ef98ba1c8c967d55 /Source/Core/VideoCommon/RenderBase.cpp
parentdb0509560e06a15655b2839e3fe6ce87f0e417fe (diff)
Renderer: Remove write-only variable.
Sorry, merge failure.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index 4c0abf318a..21bf1eeb54 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -546,7 +546,6 @@ bool Renderer::IsFrameDumping()
{
AVIDump::Stop();
std::vector<u8>().swap(m_frame_data);
- m_last_framedump_width = m_last_framedump_height = 0;
m_AVI_dumping = false;
OSD::AddMessage("Stop dumping frames", 2000);
}
@@ -561,10 +560,6 @@ void Renderer::DumpFrameData(const u8* data, int w, int h, int stride, bool swap
if (w == 0 || h == 0)
return;
- m_last_framedump_width = w;
- m_last_framedump_height = h;
- m_last_framedump_stride = stride;
-
// TODO: Refactor this. Right now it's needed for the implace flipping of the image.
m_frame_data.assign(data, data + stride * h);