mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-14 02:03:27 -08:00
linux_window_manager :fall back to 60 Hz if default refresh rate couldn't be detected
This commit is contained in:
1 parent
f9eef60935
commit
ece977e2ed
1 file changed
+4
@@ -407,6 +407,10 @@ wm_init(void)
|
||||
}
|
||||
}
|
||||
XRRFreeScreenResources(res);
|
||||
if(lnx_wm_state->gfx_info.default_refresh_rate == 0)
|
||||
{
|
||||
lnx_wm_state->gfx_info.default_refresh_rate = 60.f;
|
||||
}
|
||||
}
|
||||
|
||||
//- rjf: fill out cursors
|
||||
|
||||
Reference in new issue
Block a user