progs/demos: update GL version test to accept GL 3.x
diff --git a/progs/demos/fslight.c b/progs/demos/fslight.c
index 395b7ca..91a5a80 100644
--- a/progs/demos/fslight.c
+++ b/progs/demos/fslight.c
@@ -467,8 +467,8 @@
    const char *version;
 
    version = (const char *) glGetString(GL_VERSION);
-   if (version[0] != '2' || version[1] != '.') {
-      printf("This program requires OpenGL 2.x, found %s\n", version);
+   if (version[0] == '1') {
+      printf("This program requires OpenGL 2.x or higher, found %s\n", version);
       exit(1);
    }