mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-05 10:14:31 +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);
|
SDL_RenderPresent(screen);
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
|
|||||||
Reference in New Issue
Block a user