History

Removed vsync slot from menu

Atlante45 committed 11 years ago

Commit fdce0ba1 parent bac448a4 files · +5 −10Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+2−1
@@ -3890,7 +3890,8 @@ void Application::takeSnapshot() { · 3889 unmodified lines
38903890 _snapshotShareDialog->show();
38913891 }
38923892
3893−void Application::setVSyncEnabled(bool vsyncOn) {
3893+void Application::setVSyncEnabled() {
3894+ bool vsyncOn = Menu::getInstance()->isOptionChecked(MenuOption::RenderTargetFramerateVSyncOn);
38943895 #if defined(Q_OS_WIN)
38953896 if (wglewGetExtension("WGL_EXT_swap_control")) {
38963897 wglSwapIntervalEXT(vsyncOn);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t