.\" Generated by the Allegro makedoc utility .TH enable_triple_buffer 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME enable_triple_buffer \- Enables triple buffering. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int enable_triple_buffer(); .SH 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. .SH "RETURN VALUE" Returns zero if triple buffering is enabled, -1 otherwise. .SH SEE ALSO .BR gfx_capabilities (3alleg4), .BR request_scroll (3alleg4), .BR request_video_bitmap (3alleg4), .BR ex3buf (3alleg4), .BR exupdate (3alleg4)