You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the frame limiting code (currently set to 50fps for historical reasons¹) and pass the VSync flag to SDL_CreateRenderer. I'm fairly sure that the framerate and animation/physics are decoupled, but that needs double checking.
¹: the original author wrote the current version Apricots in 2002/2003 in the UK and probably had a CRT. The UK uses a grid frequency of 50Hz and so the CRT would have a refresh rate of 50Hz
The text was updated successfully, but these errors were encountered:
Remove the frame limiting code (currently set to 50fps for historical reasons¹) and pass the VSync flag to
SDL_CreateRenderer
. I'm fairly sure that the framerate and animation/physics are decoupled, but that needs double checking.¹: the original author wrote the current version Apricots in 2002/2003 in the UK and probably had a CRT. The UK uses a grid frequency of 50Hz and so the CRT would have a refresh rate of 50Hz
The text was updated successfully, but these errors were encountered: