From 29c79a03a42365b4bf828c81ab8676e3e42cfbaf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 9 Jun 2009 15:06:41 -0600 Subject: [PATCH] tests: check for GL_EXT/ARB_framebuffer_object --- progs/tests/getteximage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.30.2