int glxMajor, glxMinor;
glXQueryVersion(display, &glxMajor, &glxMinor);
printf("Using GLX version: %d.%d\n", glxMajor, glxMinor);
int glxMajor, glxMinor;
glXQueryVersion(display, &glxMajor, &glxMinor);
printf("Using GLX version: %d.%d\n", glxMajor, glxMinor);