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);
|
glutInitWindowSize (600, 600);
|
||||||
glutCreateWindow (argv[0]);
|
glutCreateWindow (argv[0]);
|
||||||
glewInit();
|
glewInit();
|
||||||
|
|
||||||
|
if (!glutExtensionSupported("GL_EXT_texture_compression_s3tc")) {
|
||||||
|
fprintf(stderr, "This test requires GL_EXT_texture_compression_s3tc.\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
myInit();
|
myInit();
|
||||||
glutReshapeFunc (myReshape);
|
glutReshapeFunc (myReshape);
|
||||||
glutDisplayFunc(display);
|
glutDisplayFunc(display);
|
||||||
|
|
Loading…
Reference in New Issue