Attriblist example:

attribList ={PGL_RGBA, PGL_RED_SIZE, 4, PGL_GREEN_SIZE, 4,PGL_BLUE_SIZE, 4, None};

Specifies a single-buffered RGB visual config in the normal frame buffer, not an overlay or underlay buffer. The returned visual config supports at least four bits each of red, green, and blue, and possibly no bits of alpha. It does not support color index mode, double-buffering, or stereo display. It may or may not have one or more auxiliary color buffers, a depth buffer, a stencil buffer, or an accumulation buffer. The user should not modify the fields of the returned VISUALCONFIG structure. When the user is done with the PVISUALCONFIG returned, the memory can be freed by calling the C library routine free().


[Back: pglChooseConfig - Parameters]
[Next: pglChooseConfig - Related Functions]