mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed spinning rendering too fast
This commit is contained in:
parent
e3c1749f5b
commit
b06e310c08
1 changed files with 1 additions and 0 deletions
|
|
@ -239,6 +239,7 @@ void loop()
|
|||
menurect.h = viewport.h - y;
|
||||
draw_modes_menu(window, renderer, menurect);
|
||||
|
||||
SDL_Delay(16);
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue