mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-04 18:23:15 +00:00
Also use events for config changed
This commit is contained in:
parent
0da69055d9
commit
3ae78b8e76
11 changed files with 46 additions and 13 deletions
|
@ -169,6 +169,8 @@ void Gfx::PresentBackbuffer()
|
|||
|
||||
void Gfx::OnConfigChanged(u32 bits)
|
||||
{
|
||||
AbstractGfx::OnConfigChanged(bits);
|
||||
|
||||
// Quad-buffer changes require swap chain recreation.
|
||||
if (bits & CONFIG_CHANGE_BIT_STEREO_MODE && m_swap_chain)
|
||||
m_swap_chain->SetStereo(SwapChain::WantsStereo());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue