diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-09 15:06:41 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-09 15:06:41 -0600 |
commit | 29c79a03a42365b4bf828c81ab8676e3e42cfbaf (patch) | |
tree | c15b6ccfb745817bf0b7af0f5dcd327401056147 /progs/tests | |
parent | 073c20befa28177cf1276bfb8c75f6638d588580 (diff) |
tests: check for GL_EXT/ARB_framebuffer_object
Diffstat (limited to 'progs/tests')
-rw-r--r-- | progs/tests/getteximage.c | 4 |
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); |