diff options
| author | degasus <wickmarkus@web.de> | 2016-10-08 16:23:04 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-10-08 18:16:32 +0200 |
| commit | db0509560e06a15655b2839e3fe6ce87f0e417fe (patch) | |
| tree | c826d2fe520476545602426fed04847ae61af52a /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 8b38d5a1155c9d91036935b2abc388aaa1822e41 (diff) | |
AVIDump: Hard code rgba.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index e523fd8a67..4c0abf318a 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -555,8 +555,7 @@ bool Renderer::IsFrameDumping() return false; } -void Renderer::DumpFrameData(const u8* data, int w, int h, int stride, AVIDump::DumpFormat format, - bool swap_upside_down) +void Renderer::DumpFrameData(const u8* data, int w, int h, int stride, bool swap_upside_down) { #if defined(HAVE_LIBAV) || defined(_WIN32) if (w == 0 || h == 0) @@ -564,7 +563,6 @@ void Renderer::DumpFrameData(const u8* data, int w, int h, int stride, AVIDump:: m_last_framedump_width = w; m_last_framedump_height = h; - m_last_framedump_format = format; m_last_framedump_stride = stride; // TODO: Refactor this. Right now it's needed for the implace flipping of the image. @@ -572,7 +570,7 @@ void Renderer::DumpFrameData(const u8* data, int w, int h, int stride, AVIDump:: if (!m_last_frame_dumped) { - m_AVI_dumping = AVIDump::Start(w, h, format); + m_AVI_dumping = AVIDump::Start(w, h); if (!m_AVI_dumping) { OSD::AddMessage("AVIDump Start failed", 2000); |
