diff options
author | Brian Paul <[email protected]> | 2009-11-03 09:54:09 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-11-03 09:54:09 -0700 |
commit | 4bced42341d13303ae023957d3001a640cf7ea2d (patch) | |
tree | 2bbfe5c00a876ea5342ec81713b2ff6006adccd8 /progs/tests/mipmap_comp.c | |
parent | 800e553e7a1703e33e54f45d0638b67001665fc5 (diff) | |
parent | a0cd2b7029e1ac6699b807baa255e7fd2abe7f54 (diff) |
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'progs/tests/mipmap_comp.c')
-rw-r--r-- | progs/tests/mipmap_comp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/tests/mipmap_comp.c b/progs/tests/mipmap_comp.c index 5842e2b8805..dd2232113b6 100644 --- a/progs/tests/mipmap_comp.c +++ b/progs/tests/mipmap_comp.c @@ -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); |