mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Emscripten port
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "RectUtils.h"
|
||||
#include "Room.h"
|
||||
#include "RubberBands.h"
|
||||
|
||||
#include "PLSysCalls.h"
|
||||
|
||||
#define kMaxGarbageRects 48
|
||||
|
||||
@@ -739,6 +739,7 @@ void RenderFrame (void)
|
||||
|
||||
while (TickCount() < nextFrame)
|
||||
{
|
||||
PL_ASYNCIFY_PARANOID_DISARM_FOR_SCOPE();
|
||||
Delay(1, nullptr);
|
||||
}
|
||||
nextFrame = TickCount() + kTicksPerFrame;
|
||||
|
Reference in New Issue
Block a user