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
373 addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::RenderTargetFramerateVSyncOn, 0, true,373 addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::RenderTargetFramerateVSyncOn, 0, true,
374 qApp, SLOT(setVSyncEnabled()));374 qApp, SLOT(setVSyncEnabled()));
375#endif375#endif
376 addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::ThrottleFPSIfNotFocus, 0, true,
377 qApp, SLOT(setThrottleFPSEnabled()));
376 }378 }
377 379
378 380