Scroll to navigation

poll_scroll(3alleg4) Allegro manual poll_scroll(3alleg4)

NAME

poll_scroll - Checks the status of a scroll request with triple buffering. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int poll_scroll();

DESCRIPTION

This function is used for triple buffering. It checks the status of a hardware scroll previously initiated by the request_scroll() routine.

RETURN VALUE

Returns non-zero if it is still waiting to take place, and zero if the requested scroll has already happened.

SEE ALSO

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

version 4.4.3 Allegro