Replace glXChooseVisual by glXGetVisualFromFBConfig to get a matching visual configuration before creating a window
If XV has been enabled, test if adaptors are presents to avoid crash on OpenGL if not.
Replace glXChooseVisual by glXGetVisualFromFBConfig to get a matching visual configuration before creating a window
If XV has been enabled, test if adaptors are presents to avoid crash on OpenGL if not.