Powerful independent cross-platform engine for 2D/3D games and visualizations. Young, strong and crazy!
GNU Lesser General Public License v3.0
162
stars
39
forks
source link
Double check weird code for calculating sleep time in core. #228
Open
megaDRONe86 opened 8 years ago
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