1al_wait_for_vsync(3)                                      al_wait_for_vsync(3)
2
3
4

NAME

6       al_wait_for_vsync - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_wait_for_vsync(void)
12

DESCRIPTION

14       Wait for the beginning of a vertical retrace.  Some driver/card/monitor
15       combinations may not be capable of this.
16
17       Note how al_flip_display(3) usually already waits for the vertical  re‐
18       trace, so unless you are doing something special, there is no reason to
19       call this function.
20
21       Returns false if not possible, true if successful.
22

SEE ALSO

24       al_flip_display(3)
25
26
27
28Allegro reference manual                                  al_wait_for_vsync(3)
Impressum