From: Brian Paul Date: Tue, 9 Jun 2009 21:06:41 +0000 (-0600) Subject: tests: check for GL_EXT/ARB_framebuffer_object X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29c79a03a42365b4bf828c81ab8676e3e42cfbaf;p=mesa.git tests: check for GL_EXT/ARB_framebuffer_object --- 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);