Pārlūkot izejas kodu

progs/tests: added test for GL_EXT_texture_compression_s3tc support

tags/mesa_7_6_1_rc1
Brian Paul pirms 16 gadiem
vecāks
revīzija
635ea87374
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6
    0
      progs/tests/mipmap_comp.c

+ 6
- 0
progs/tests/mipmap_comp.c Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt