Let the platform handle the game loop in case it has some existing callback method (like web does)

This commit is contained in:
Jeffery Myers 2026-07-03 11:08:34 -07:00
commit f95bd9d997

View file

@ -2100,3 +2100,14 @@ double GetTimeSeconds(void)
return currentTime;
}
extern void ProcessSingleFrame();
void PlatformRunGameLoop()
{
while (CORE.Window.updateCallback != NULL)
{
ProcessSingleFrame();
}
}