1_set_color(3)                   Allegro manual                   _set_color(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       void _set_color(int index, const RGB *p);
14

DESCRIPTION

16       This is an inline version of set_color(), intended for use in the  ver‐
17       tical  retrace  simulator callback function (retrace_proc, which is now
18       deprecated).
19
20       If you really must use  _set_color  from  retrace_proc,  note  that  it
21       should  only  be  used under DOS, in VGA mode 13h and mode-X. Some SVGA
22       chipsets aren't VGA compatible (set_color() and set_palette() will  use
23       VESA calls on these cards, but _set_color() doesn't know about that).
24
25

SEE ALSO

27       set_color(3), set_gfx_mode(3), ex3buf(3)
28
29
30
31Allegro                          version 4.2.3                   _set_color(3)
Impressum