1enable_triple_buffer(3)         Allegro manual         enable_triple_buffer(3)
2
3
4

NAME

6       enable_triple_buffer  - Enables triple buffering. Allegro game program‐
7       ming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int enable_triple_buffer();
14

DESCRIPTION

16       If the GFX_CAN_TRIPLE_BUFFER bit of the gfx_capabilities field  is  not
17       set, you can attempt to enable it by calling this function. In particu‐
18       lar if you are running in mode-X in a clean DOS environment, this  rou‐
19       tine  will  enable the timer retrace simulator, which will activate the
20       triple buffering functions.
21

RETURN VALUE

23       Returns zero if triple buffering is enabled, -1 otherwise.
24
25

SEE ALSO

27       gfx_capabilities(3),    request_scroll(3),     request_video_bitmap(3),
28       ex3buf(3), exupdate(3)
29
30
31
32Allegro                          version 4.4.2         enable_triple_buffer(3)
Impressum