context = glXCreateContext(display, vi, 0, GL_TRUE);
glXMakeCurrent(display, window, context);
assert(glXIsDirect(display, context));
context = glXCreateContext(display, vi, 0, GL_TRUE);
glXMakeCurrent(display, window, context);
assert(glXIsDirect(display, context));