logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

enable_triple_buffer - Enables triple buffering. Allegro game programming library.

Description

       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.

Name

       enable_triple_buffer - Enables triple buffering. Allegro game programming library.

Return Value

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

See Also

gfx_capabilities(3alleg4),   request_scroll(3alleg4),   request_video_bitmap(3alleg4),   ex3buf(3alleg4),
       exupdate(3alleg4)

Allegro                                           version 4.4.3                    enable_triple_buffer(3alleg4)

Synopsis

#include<allegro.h>intenable_triple_buffer();

See Also