summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);