int glxMajor, glxMinor;
glXQueryVersion(display, &glxMajor, &glxMinor);
printf("Using GLX version: %d.%d\n", glxMajor, glxMinor);
- if (glxMajor < 1 || (glxMajor == 1 && glxMinor < 3)) {
+ if (glxMajor == 1 && glxMinor < 3) {
// glXChooseFBConfig and glXCreateNewContext require GLX 1.3
die("Need at least GLX 1.3 to function properly\n");
}