glXChooseVisual

return a visual that matches specified attributes

Signature

glXChooseVisual( Display * ( dpy ) , int ( screen ) , int * ( attribList ) )-> XVisualInfo*
glXChooseVisual( dpy , screen , attribList ) -> <class 'OpenGL.raw.GLX.VERSION.GLX_1_0.LP_struct_anon_103'>

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
screen
Specifies the screen number.
attribList
Specifies a list of boolean attributes and integer attribute/value pairs. The last attribute must be None .