mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-09 04:32:38 +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
|
@ -436,6 +436,8 @@ void OGLGfx::PresentBackbuffer()
|
|||
|
||||
void OGLGfx::OnConfigChanged(u32 bits)
|
||||
{
|
||||
AbstractGfx::OnConfigChanged(bits);
|
||||
|
||||
if (bits & CONFIG_CHANGE_BIT_VSYNC && !DriverDetails::HasBug(DriverDetails::BUG_BROKEN_VSYNC))
|
||||
m_main_gl_context->SwapInterval(g_ActiveConfig.bVSyncActive);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue