Warning fixes
This commit is contained in:
1 parent
2cf6e8f5c9
commit
8f3162675f
3 files changed
+4
-7
No files matched your search
@@ -1537,9 +1537,6 @@ void Throttle()
|
||||
static constexpr double MAX_VARIANCE_TIME_NS = 50 * 1000000;
|
||||
#endif
|
||||
|
||||
// Don't sleep for <1ms or >=period.
|
||||
static constexpr double MINIMUM_SLEEP_TIME_NS = 1 * 1000000;
|
||||
|
||||
// Use unsigned for defined overflow/wrap-around.
|
||||
const Common::Timer::Value time = Common::Timer::GetValue();
|
||||
const double sleep_time = (s_next_frame_time >= time) ?
|
||||
|
||||
Reference in new issue
Block a user