display := NBXLibDisplay open.
window
:= display defaultRootWindow.
visualInfo
:= NBXLibVisualInfo fromPointer: (gl chooseVisual: display
screen: display defaultScreen attributes: {GLX_RGBA.
GLX_DEPTH_SIZE. 24. GLX_DOUBLEBUFFER. 0} asWordArray).
...
but chooseVisual returns a null pointer. I even tried
putting an array with only 0 on attributes but didn't work
either (and these attributes should be supported).
Any idea of what could be wrong? The code is available to
test in squeaksource, you need nativeboost+NBXLib to try
Cheers,
Javier
--
Lic. Javier Pim��s
Ciudad de Buenos Aires