gl_setrgbpalette3vga
Set a 256-color rgb palette
Part of gl_setrgbpalette(3).
Usage
#include <vgagl.h>
void gl_setrgbpalette(void)
Overview
Sets 256-color RGB palette (bits 0 - 2 blue, 3 - 5 green, 6 - 7 red).
Call this prior to using gl_getpixelrgb(3), gl_rgbcolor(3), or gl_setpixelrgb(3) in 256 color modes.
Releases
Unchanged in 4 releases since Debian 2.0 (Hamm).