Skip to content

Commit 4d85ba3

Browse files
committed
Improve FPSManager docs
1 parent 321ca44 commit 4d85ba3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdl2/sdlgfx.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class FPSManager(Structure):
6262
(:attr:`baseticks`) and the duration per frame to try to present frames
6363
at consistent intervals from that initial point.
6464
65+
After an FPSManager is created, it needs to be initialized with
66+
:func:`SDL_initFramerate` before it can be used.
67+
6568
.. note::
6669
This method of frame pacing may not play nicely with vsync in SDL2.
6770

0 commit comments

Comments
 (0)