Frame timing fix (thanks @mauvecow)

This commit is contained in:
Joshua Granick
2015-10-19 17:44:48 -07:00
parent 6a2eda8612
commit 4879c265a2

View File

@@ -113,6 +113,8 @@ namespace lime {
applicationEvent.deltaTime = currentUpdate - lastUpdate;
lastUpdate = currentUpdate;
nextUpdate += framePeriod;
while (nextUpdate <= currentUpdate) {
nextUpdate += framePeriod;