progs/tests: added test for GL_EXT_texture_compression_s3tc support
This commit is contained in:
parent
96128fdf2f
commit
635ea87374
|
@ -285,6 +285,12 @@ main(int argc, char** argv)
|
|||
glutInitWindowSize (600, 600);
|
||||
glutCreateWindow (argv[0]);
|
||||
glewInit();
|
||||
|
||||
if (!glutExtensionSupported("GL_EXT_texture_compression_s3tc")) {
|
||||
fprintf(stderr, "This test requires GL_EXT_texture_compression_s3tc.\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
myInit();
|
||||
glutReshapeFunc (myReshape);
|
||||
glutDisplayFunc(display);
|
||||
|
|
Loading…
Reference in New Issue