History

Add menu item, Developer > Render > Throttle FPS If Not Focus

David Rowe committed 11 years ago

Commit d0489bf1 parent 084a0985 files · +18 −3Browse files

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

Unified · Split

interface/src/Menu.cpp+2−0
@@ -373,6 +373,8 @@ Menu::Menu() { · 372 unmodified lines
373373 addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::RenderTargetFramerateVSyncOn, 0, true,
374374 qApp, SLOT(setVSyncEnabled()));
375375 #endif
376+ addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::ThrottleFPSIfNotFocus, 0, true,
377+ qApp, SLOT(setThrottleFPSEnabled()));
376378 }
377379
378380

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