mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
updated version test
This commit is contained in:
parent
02de45dced
commit
35d03a6b3e
1 changed files with 4 additions and 2 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue