Double check weird code for calculating sleep time in core.
megaDRONe86 opened this issue · comments
const milliseconds sleep = (int)((_eInitFlags & EIF_FORCE_LIMIT_FPS) && ((_uiLastFPS > _updateInterval.count() && _uiLastFPS > 120) || _bPause)) * 8ms ...
_uiLastFPS > _updateInterval.count() - this compares values with much different meanings