Video Common: Avoid 'presenting' duplicate frames by detecting when swap

hasn't changed since the last frame
This commit is contained in:
iwubcode
2017-08-20 14:24:37 -05:00
parent c58010404d
commit e6d85b0915
4 changed files with 6 additions and 3 deletions

View File

@ -207,6 +207,7 @@ private:
} m_frame_dump_config;
AbstractTexture * m_last_xfb_texture;
u64 m_last_xfb_id = 0;
// Note: Only used for auto-ir
u32 m_last_xfb_width = MAX_XFB_WIDTH;