tests: check for GL_EXT/ARB_framebuffer_object

This commit is contained in:
Brian Paul 2009-06-09 15:06:41 -06:00
parent 073c20befa
commit 29c79a03a4

View file

@ -154,7 +154,9 @@ Draw(void)
TestGetTexImage();
TestGetTexImageRTT();
if (glutExtensionSupported("GL_EXT_framebuffer_object") ||
glutExtensionSupported("GL_ARB_framebuffer_object"))
TestGetTexImageRTT();
glutDestroyWindow(Win);
exit(0);