projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
progs/glsl: compile with scons and glew
[mesa.git]
/
progs
/
glsl
/
bump.c
diff --git
a/progs/glsl/bump.c
b/progs/glsl/bump.c
index 0ea1f8331ff3cbcc82e1529f041b5b27a22981f5..c401e590f74e02ef7a27cb7aad7f446bad827f53 100644
(file)
--- a/
progs/glsl/bump.c
+++ b/
progs/glsl/bump.c
@@
-288,6
+288,7
@@
main(int argc, char *argv[])
glutInitWindowSize(400, 400);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
win = glutCreateWindow(argv[0]);
+ glewInit();
glutReshapeFunc(Reshape);
glutKeyboardFunc(Key);
glutSpecialFunc(SpecialKey);