mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Renderer: Remove write-only variable.
Sorry, merge failure.
This commit is contained in:
@ -546,7 +546,6 @@ bool Renderer::IsFrameDumping()
|
|||||||
{
|
{
|
||||||
AVIDump::Stop();
|
AVIDump::Stop();
|
||||||
std::vector<u8>().swap(m_frame_data);
|
std::vector<u8>().swap(m_frame_data);
|
||||||
m_last_framedump_width = m_last_framedump_height = 0;
|
|
||||||
m_AVI_dumping = false;
|
m_AVI_dumping = false;
|
||||||
OSD::AddMessage("Stop dumping frames", 2000);
|
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)
|
if (w == 0 || h == 0)
|
||||||
return;
|
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.
|
// TODO: Refactor this. Right now it's needed for the implace flipping of the image.
|
||||||
m_frame_data.assign(data, data + stride * h);
|
m_frame_data.assign(data, data + stride * h);
|
||||||
|
|
||||||
|
@ -191,9 +191,6 @@ private:
|
|||||||
std::vector<u8> m_frame_data;
|
std::vector<u8> m_frame_data;
|
||||||
bool m_AVI_dumping = false;
|
bool m_AVI_dumping = false;
|
||||||
bool m_last_frame_dumped = 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<Renderer> g_renderer;
|
extern std::unique_ptr<Renderer> g_renderer;
|
||||||
|
Reference in New Issue
Block a user