diff options
author | Tilman Sauerbeck <[email protected]> | 2006-04-28 21:50:41 +0000 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2006-04-28 21:50:41 +0000 |
commit | 9ecd280f338a722b356faf83872cf0ccaf19e0c6 (patch) | |
tree | 6616478965bb7a3b1aa10ad74e5d0068ee5bbfe9 /progs/tests | |
parent | 6a769d97e3ad0c5275f918b9f36519d6c0254da3 (diff) |
fptest1 requires GL_NV_fragment_program
Diffstat (limited to 'progs/tests')
-rw-r--r-- | progs/tests/fptest1.c | 5 |
1 files changed, 5 insertions, 0 deletions
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]); |