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

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

Description

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

Name

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

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)

Allegro                                           version 4.4.3                             poll_scroll(3alleg4)

Synopsis

#include<allegro.h>intpoll_scroll();

See Also