diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-05-28 13:21:25 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-05-28 13:21:25 +0200 |
commit | 5005a7c3f0f78c4684dbdcde0d88ae48050ab6fe (patch) | |
tree | 5e06176a8199634febc552ede9a720ffce6608bc /src/frontend/qt_sdl/PlatformConfig.cpp | |
parent | 695839bb0ef8173ad2a549dd7766186fa65e949a (diff) |
populate the dialog.
also add setting for vsync interval.
Diffstat (limited to 'src/frontend/qt_sdl/PlatformConfig.cpp')
-rw-r--r-- | src/frontend/qt_sdl/PlatformConfig.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/frontend/qt_sdl/PlatformConfig.cpp b/src/frontend/qt_sdl/PlatformConfig.cpp index 28c224d..03fd2ac 100644 --- a/src/frontend/qt_sdl/PlatformConfig.cpp +++ b/src/frontend/qt_sdl/PlatformConfig.cpp @@ -45,6 +45,7 @@ int ScreenFilter; int ScreenUseGL; int ScreenVSync; +int ScreenVSyncInterval; int LimitFPS; int AudioSync; @@ -124,8 +125,9 @@ ConfigEntry PlatformConfigFile[] = {"IntegerScaling", 0, &IntegerScaling, 0, NULL, 0}, {"ScreenFilter", 0, &ScreenFilter, 1, NULL, 0}, - {"ScreenUseGL", 0, &ScreenUseGL, 1, NULL, 0}, - {"ScreenVSync", 0, &ScreenVSync, 0, NULL, 0}, + {"ScreenUseGL", 0, &ScreenUseGL, 1, NULL, 0}, + {"ScreenVSync", 0, &ScreenVSync, 0, NULL, 0}, + {"ScreenVSyncInterval", 0, &ScreenVSyncInterval, 1, NULL, 0}, {"LimitFPS", 0, &LimitFPS, 0, NULL, 0}, {"AudioSync", 0, &AudioSync, 1, NULL, 0}, |