summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-01-28 15:31:35 +0000
committerBrian Paul <[email protected]>2003-01-28 15:31:35 +0000
commit35d03a6b3efe33dcf8823e3f2739d0fb335e7971 (patch)
treea889b5d71c33117e195cf537e9f5bb8fb9fddc09 /progs
parent02de45dcedc38b0e4ceacba440bfc11930ec90bb (diff)
updated version test
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/cva.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/progs/tests/cva.c b/progs/tests/cva.c
index c15f3bd2412..eff35048f3c 100644
--- a/progs/tests/cva.c
+++ b/progs/tests/cva.c
@@ -1,4 +1,4 @@
-/* $Id: cva.c,v 1.4 2002/01/16 01:03:25 kschultz Exp $ */
+/* $Id: cva.c,v 1.5 2003/01/28 15:31:35 brianp Exp $ */
/*
* Trivial CVA test, good for testing driver fastpaths (especially
@@ -133,7 +133,9 @@ int main( int argc, char **argv )
*/
string = (char *) glGetString( GL_VERSION );
- if ( (!strstr( string, "1.2" ))&&(!strstr(string,"1.3"))) {
+ if ( !strstr(string, "1.2") &&
+ !strstr(string, "1.3") &&
+ !strstr(string, "1.4")) {
fprintf( stderr, "This program requires OpenGL 1.2 vertex arrays.\n" );
exit( -1 );
}