mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-06 02:34:38 +00:00
Fixed spinning at a very high framerate
This commit is contained in:
@@ -259,6 +259,7 @@ loop(void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
SDL_Delay(16);
|
||||
SDL_RenderPresent(screen);
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
Reference in New Issue
Block a user