progs/trivial: Use glew where needed.

Builds on windows now.
This commit is contained in:
José Fonseca
2009-01-23 14:35:36 +00:00
parent 57d00016ca
commit 479ea7d87b
40 changed files with 119 additions and 39 deletions

View File

@@ -3,7 +3,7 @@
*/
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -91,6 +91,8 @@ int main(int argc, char **argv)
if (argc > 1)
Zoom = atof(argv[1]);
glewInit();
Init();
glutReshapeFunc(Reshape);