Frame timing fix (thanks @mauvecow)
This commit is contained in:
@@ -113,6 +113,8 @@ namespace lime {
|
||||
applicationEvent.deltaTime = currentUpdate - lastUpdate;
|
||||
lastUpdate = currentUpdate;
|
||||
|
||||
nextUpdate += framePeriod;
|
||||
|
||||
while (nextUpdate <= currentUpdate) {
|
||||
|
||||
nextUpdate += framePeriod;
|
||||
|
||||
Reference in New Issue
Block a user