From 9ecd280f338a722b356faf83872cf0ccaf19e0c6 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 28 Apr 2006 21:50:41 +0000 Subject: [PATCH] fptest1 requires GL_NV_fragment_program --- progs/tests/fptest1.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/progs/tests/fptest1.c b/progs/tests/fptest1.c index d0bcdaa226d..095190a8aef 100644 --- a/progs/tests/fptest1.c +++ b/progs/tests/fptest1.c @@ -149,6 +149,11 @@ static void Init( void ) GLuint progs[20]; + if (!glutExtensionSupported ("GL_NV_fragment_program")) { + printf("Sorry, this program requires GL_NV_fragment_program\n"); + exit(1); + } + glGenProgramsNV(20, progs); assert(progs[0]); assert(progs[1]); -- 2.30.2