Use high-resolution timer for a better frame time

This commit is contained in:
ShadelessFox 2024-11-04 17:10:18 +01:00
parent a964eeeca6
commit 3f531bbf98
No known key found for this signature in database
GPG key ID: 1CF8D77ADDADADD9
4 changed files with 47 additions and 10 deletions

View file

@ -10,4 +10,6 @@ namespace platform {
/// @brief Open folder using system file manager asynchronously
/// @param folder target folder
void open_folder(const std::filesystem::path& folder);
/// Makes the current thread sleep for the specified amount of milliseconds.
void sleep(size_t millis);
}