mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +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