mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-04 00:26:09 +00:00
OGL: Avoid reallocation of frame dumping PBO.
This commit is contained in:
parent
f6a6cc9c67
commit
741debe229
2 changed files with 18 additions and 11 deletions
|
@ -119,9 +119,9 @@ private:
|
|||
// avi dumping state to delay one frame
|
||||
std::array<u32, 2> m_frame_dumping_pbo = {};
|
||||
std::array<bool, 2> m_frame_pbo_is_mapped = {};
|
||||
std::array<int, 2> m_last_frame_width = {};
|
||||
std::array<int, 2> m_last_frame_height = {};
|
||||
bool m_last_frame_exported = false;
|
||||
int m_last_frame_width = 0;
|
||||
int m_last_frame_height = 0;
|
||||
AVIDump::Frame m_last_frame_state;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue