libretro: Better handle resolution changes

This commit is contained in:
Connor McLaughlin
2020-07-04 21:23:59 +10:00
parent e15fafe428
commit 343e3ba3b7
2 changed files with 92 additions and 42 deletions

View File

@@ -65,6 +65,7 @@ private:
static void HardwareRendererContextDestroy();
retro_hw_render_callback m_hw_render_callback = {};
std::unique_ptr<HostDisplay> m_hw_render_display;
bool m_hw_render_callback_valid = false;
bool m_using_hardware_renderer = false;
};