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
3890 _snapshotShareDialog->show();3890 _snapshotShareDialog->show();
3891}3891}
3892 3892
3893void Application::setVSyncEnabled(bool vsyncOn) {3893void Application::setVSyncEnabled() {
3894 bool vsyncOn = Menu::getInstance()->isOptionChecked(MenuOption::RenderTargetFramerateVSyncOn);
3894#if defined(Q_OS_WIN)3895#if defined(Q_OS_WIN)
3895 if (wglewGetExtension("WGL_EXT_swap_control")) {3896 if (wglewGetExtension("WGL_EXT_swap_control")) {
3896 wglSwapIntervalEXT(vsyncOn);3897 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