Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -3890,7 +3890,8 @@ void Application::takeSnapshot() { · 3889 unmodified lines | ||
| 3890 | 3890 | _snapshotShareDialog->show(); |
| 3891 | 3891 | } |
| 3892 | 3892 | |
| 3893 | −void Application::setVSyncEnabled(bool vsyncOn) { | |
| 3893 | +void Application::setVSyncEnabled() { | |
| 3894 | + bool vsyncOn = Menu::getInstance()->isOptionChecked(MenuOption::RenderTargetFramerateVSyncOn); | |
| 3894 | 3895 | #if defined(Q_OS_WIN) |
| 3895 | 3896 | if (wglewGetExtension("WGL_EXT_swap_control")) { |
| 3896 | 3897 | wglSwapIntervalEXT(vsyncOn); |