Commit 1588337c authored by Daniel Burke's avatar Daniel Burke

ifdef'd GLEW for Apple

parent 1f71709a
......@@ -511,6 +511,7 @@ int main(int argc, char *argv[])
glutCreateWindow( "Font rendering advanced tweaking" );
glutCreateMenu( NULL );
#ifndef __APPLE__
GLenum err = glewInit();
if (GLEW_OK != err)
{
......@@ -519,7 +520,7 @@ int main(int argc, char *argv[])
exit( EXIT_FAILURE );
}
fprintf( stderr, "Using GLEW %s\n", glewGetString(GLEW_VERSION) );
#endif
glutDisplayFunc( display );
glutReshapeFunc( reshape );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment