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

Description

       This  is  an  inline  version of set_color(), intended for use in the vertical retrace simulator callback
       function (retrace_proc, which is now deprecated).

       If you really must use _set_color from retrace_proc, note that it should only be used under DOS,  in  VGA
       mode  13h  and  mode-X.  Some SVGA chipsets aren't VGA compatible (set_color() and set_palette() will use
       VESA calls on these cards, but _set_color() doesn't know about that).

Name

       _set_color - Inline version of set_color(). Allegro game programming library.

See Also

set_color(3alleg4), set_gfx_mode(3alleg4), ex3buf(3alleg4)

Allegro                                           version 4.4.3                              _set_color(3alleg4)

Synopsis

#include<allegro.h>void_set_color(intindex,constRGB*p);

See Also