mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add framerate control (WIP)
This commit is contained in:
parent
664faf35e9
commit
a856b4f140
6 changed files with 29 additions and 8 deletions
|
|
@ -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};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue