From 21e42c68c4ec1e9e9925f3cfeefed12054cc6b71 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 8 Oct 2016 18:26:43 +0200 Subject: [PATCH] Renderer: Remove write-only variable. Sorry, merge failure. --- Source/Core/VideoCommon/RenderBase.cpp | 5 ----- Source/Core/VideoCommon/RenderBase.h | 3 --- 2 files changed, 8 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().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); diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index e509d10530..e8393721f9 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -191,9 +191,6 @@ private: std::vector m_frame_data; bool m_AVI_dumping = false; bool m_last_frame_dumped = false; - int m_last_framedump_width = 0; - int m_last_framedump_height = 0; - int m_last_framedump_stride = 0; }; extern std::unique_ptr g_renderer;