progs: Get more samples building on windows.

This commit is contained in:
José Fonseca
2009-02-01 12:00:07 +00:00
parent 7062b7c7cb
commit 9aa73cfae8
11 changed files with 105 additions and 72 deletions

View File

@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <GL/glew.h>
#include <GL/glut.h>
#include "readtex.h"
@@ -438,6 +439,7 @@ int main( int argc, char *argv[] )
glutInitWindowSize(WinWidth, WinHeight);
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
glutCreateWindow(argv[0] );
glewInit();
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutDisplayFunc( Display );