Merge pull request #2948 from raven02/patch-2

Add "Force 60 FPS or less" to newUI
This commit is contained in:
Henrik Rydgård committed 2013-07-27 06:40:57 -07:00
commit f8a35faae4
1 file changed
+2
+2
View File
@@ -216,6 +216,8 @@ void GameSettingsScreen::CreateViews() {
graphicsSettings->Add(new PopupMultiChoice(&g_Config.iShowFPSCounter, gs->T("Show FPS Counter"), fpsChoices, 0, 4, gs, screenManager()));
graphicsSettings->Add(new CheckBox(&g_Config.bShowDebugStats, gs->T("Show Debug Statistics")));
graphicsSettings->Add(new PopupSliderChoice(&g_Config.iFrameSkip, 0, 9, gs->T("Frame Skipping"), screenManager()));
graphicsSettings->Add(new CheckBox(&cap60FPS_, gs->T("Force 60 FPS or less")))
graphicsSettings->Add(new ItemHeader(gs->T("Anisotropic Filtering")));
static const char *anisoLevels[] = { "Off", "2x", "4x", "8x", "16x" };
graphicsSettings->Add(new PopupMultiChoice(&g_Config.iAnisotropyLevel, gs->T("Anisotropic Filtering"), anisoLevels, 0, 5, gs, screenManager()));