OGL: Avoid reallocation of frame dumping PBO.

This commit is contained in:
degasus
2016-11-07 22:32:54 +01:00
parent f6a6cc9c67
commit 741debe229
2 changed files with 18 additions and 11 deletions

View File

@ -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;
};
}