An application should choose the simplest visual config that will suit its needs (least number of buffers). Programmers can also use the helper routine pglChooseConfig, which will choose a suitable visual based on minimum requirements. A VISUALCONFIG is required to create an OpenGL context. The list of Visual Configs is not guaranteed to be in any certain order.
Note: The user should not modify the fields of the returned PVISUALCONFIG structures. When the user is done with the returned PVISUALCONFIG list , that memory can be freed by calling the C library routine free().