Make the shaders work on NVidia
[gltest.git] / glxbackend.cpp
index 2023954b242feb0c1dd786637619d28a748c17fd..f556a64ac3a4868daafc9ea5beed5b3dc562bb58 100644 (file)
@@ -58,7 +58,7 @@ VisualID GLXBackend::initialize(Display *display)
                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");
                }