diff options
author | Tilman Sauerbeck <tilman@freedesktop.org> | 2006-04-28 21:50:41 +0000 |
---|---|---|
committer | Tilman Sauerbeck <tilman@freedesktop.org> | 2006-04-28 21:50:41 +0000 |
commit | 9ecd280f338a722b356faf83872cf0ccaf19e0c6 (patch) | |
tree | 6616478965bb7a3b1aa10ad74e5d0068ee5bbfe9 /progs | |
parent | 6a769d97e3ad0c5275f918b9f36519d6c0254da3 (diff) | |
download | external_mesa3d-9ecd280f338a722b356faf83872cf0ccaf19e0c6.zip external_mesa3d-9ecd280f338a722b356faf83872cf0ccaf19e0c6.tar.gz external_mesa3d-9ecd280f338a722b356faf83872cf0ccaf19e0c6.tar.bz2 |
fptest1 requires GL_NV_fragment_program
Diffstat (limited to 'progs')
-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 d0bcdaa..095190a 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]); |