gl_setrgbpalette3
Set a 256-color rgb palette
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 5 releases since Debian 3.1 (Sarge).