Есть такая проверка:
if (!isExtensionSupported(glxExts, "GLX_ARB_create_context")
		|| !glXCreateContextAttribsARB) {
	printf("glXCreateContextAttribsARB() not found"
		" ... using old-style GLX context\n");
	ctx = glXCreateNewContext(display, bestFbc, GLX_RGBA_TYPE, 0, True);
}
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    ...
Код брал здесь: http://www.opengl.org/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX)

