From c6e63f3cc235b2d7b06664a493584671a2493045 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 15 Feb 2010 18:04:00 -0700 Subject: progs/redbook: use glew --- progs/redbook/texture3d.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'progs/redbook/texture3d.c') diff --git a/progs/redbook/texture3d.c b/progs/redbook/texture3d.c index 9f57e08c6d9..c7b77c1caeb 100644 --- a/progs/redbook/texture3d.c +++ b/progs/redbook/texture3d.c @@ -46,6 +46,7 @@ * with different texture coordinates to obtain different * "slices" of the 3D texture. */ +#include #include #include #include @@ -142,6 +143,7 @@ int main(int argc, char** argv) glutInitWindowSize(250, 250); glutInitWindowPosition(100, 100); glutCreateWindow(argv[0]); + glewInit(); init(); glutReshapeFunc(reshape); glutDisplayFunc(display); -- cgit v1.2.3