Skip to content

Commit

Permalink
Improve FPSManager docs
Browse files Browse the repository at this point in the history
  • Loading branch information
a-hurst committed Jul 26, 2022
1 parent 321ca44 commit 4d85ba3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdl2/sdlgfx.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class FPSManager(Structure):
(:attr:`baseticks`) and the duration per frame to try to present frames
at consistent intervals from that initial point.
After an FPSManager is created, it needs to be initialized with
:func:`SDL_initFramerate` before it can be used.
.. note::
This method of frame pacing may not play nicely with vsync in SDL2.
Expand Down

0 comments on commit 4d85ba3

Please sign in to comment.