From 479ea7d87b6d283cd74d345cb618d69a889284d9 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 23 Jan 2009 14:35:36 +0000 Subject: progs/trivial: Use glew where needed. Builds on windows now. --- progs/trivial/tri-fp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'progs/trivial/tri-fp.c') diff --git a/progs/trivial/tri-fp.c b/progs/trivial/tri-fp.c index 9ff355a4caf..fcf57f5a85f 100644 --- a/progs/trivial/tri-fp.c +++ b/progs/trivial/tri-fp.c @@ -25,7 +25,7 @@ #include #include #include -#define GL_GLEXT_PROTOTYPES +#include #include @@ -157,6 +157,8 @@ int main(int argc, char **argv) exit(1); } + glewInit(); + Init(); glutReshapeFunc(Reshape); -- cgit v1.2.3