add framerate control (WIP)

This commit is contained in:
MihailRis
2024-07-25 22:33:21 +03:00
parent 664faf35e9
commit a856b4f140
6 changed files with 29 additions and 8 deletions
+2
View File
@@ -28,6 +28,8 @@ struct DisplaySettings {
IntegerSetting height {720};
/// @brief Anti-aliasing samples
IntegerSetting samples {0};
/// @brief Framerate limit
IntegerSetting framerate {-1, -1, 120};
/// @brief VSync on
FlagSetting vsync {true};
};