summaryrefslogtreecommitdiffstats
path: root/progs/fp/fp-tri.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-06-11 13:19:34 +0100
committerJosé Fonseca <[email protected]>2009-06-11 13:19:34 +0100
commite3f14f2f3bdd66400d02f0f9076593db609874a8 (patch)
tree32d57f10952a453fcd19ef884d6eb821e1069727 /progs/fp/fp-tri.c
parent48d816b8fff5d01b8c35bd2f933220e41d976e4c (diff)
progs: Port fp programs to GLEW.
Diffstat (limited to 'progs/fp/fp-tri.c')
-rw-r--r--progs/fp/fp-tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c
index 6c15540d38d..52a8fcfc22a 100644
--- a/progs/fp/fp-tri.c
+++ b/progs/fp/fp-tri.c
@@ -89,7 +89,7 @@ static void Init( void )
}
fprintf(stderr, "%.*s\n", sz, buf);
- if (!glutExtensionSupported("GL_ARB_fragment_program")) {
+ if (!GLEW_ARB_fragment_program) {
printf("Error: GL_ARB_fragment_program not supported!\n");
exit(1);
}