summaryrefslogtreecommitdiff
path: root/progs/tests
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests')
-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 f0160f5863..e4818a8fab 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);