summaryrefslogtreecommitdiffstats
path: root/progs/tests/vpeval.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/vpeval.c')
-rw-r--r--progs/tests/vpeval.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/tests/vpeval.c b/progs/tests/vpeval.c
index 3e8a732df59..a4024b5336b 100644
--- a/progs/tests/vpeval.c
+++ b/progs/tests/vpeval.c
@@ -145,6 +145,11 @@ myinit(int argc, char *argv[])
printf("Using vertex program attribs? %s\n", program ? "yes" : "no");
+ if (program && !glutExtensionSupported("GL_NV_vertex_program")) {
+ printf("Sorry, this requires GL_NV_vertex_program\n");
+ exit(1);
+ }
+
if (!program) {
glMap2f(GL_MAP2_VERTEX_4,
0.0, 1.0, 4, 4,