summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-06-09 15:06:41 -0600
committerBrian Paul <[email protected]>2009-06-09 15:06:41 -0600
commit29c79a03a42365b4bf828c81ab8676e3e42cfbaf (patch)
treec15b6ccfb745817bf0b7af0f5dcd327401056147
parent073c20befa28177cf1276bfb8c75f6638d588580 (diff)
tests: check for GL_EXT/ARB_framebuffer_object
-rw-r--r--progs/tests/getteximage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/tests/getteximage.c b/progs/tests/getteximage.c
index f0160f5863a..e4818a8fabb 100644
--- a/progs/tests/getteximage.c
+++ b/progs/tests/getteximage.c
@@ -154,7 +154,9 @@ Draw(void)
TestGetTexImage();
- TestGetTexImageRTT();
+ if (glutExtensionSupported("GL_EXT_framebuffer_object") ||
+ glutExtensionSupported("GL_ARB_framebuffer_object"))
+ TestGetTexImageRTT();
glutDestroyWindow(Win);
exit(0);