enable_triple_buffer(3alleg4)

enable_triple_buffer3alleg4

Enables triple buffering. allegro game programming library.

Usage

#include <allegro.h>

int enable_triple_buffer();

Overview

If the GFX_CAN_TRIPLE_BUFFER bit of the gfx_capabilities field is not set, you can attempt to enable it by calling this function. In particular if you are running in mode-X in a clean DOS environment, this routine will enable the timer retrace simulator, which will activate the triple buffering functions.

Return value

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.