Fixed spinning rendering too fast
parent
e3c1749f5b
commit
b06e310c08
|
@ -239,6 +239,7 @@ void loop()
|
||||||
menurect.h = viewport.h - y;
|
menurect.h = viewport.h - y;
|
||||||
draw_modes_menu(window, renderer, menurect);
|
draw_modes_menu(window, renderer, menurect);
|
||||||
|
|
||||||
|
SDL_Delay(16);
|
||||||
SDL_RenderPresent(renderer);
|
SDL_RenderPresent(renderer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue