Commit 7d8c126c authored by Vinson Lee's avatar Vinson Lee Committed by Brian Paul

Mac OS GLUT header fixes

Include GLUT/glut.h instead of GL/glut.h on Mac OS.
parent 5f7164d4
......@@ -34,7 +34,11 @@
#define GL_GLEXT_PROTOTYPES
#include "GL/glew.h"
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
......
......@@ -33,7 +33,11 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
......
......@@ -36,7 +36,11 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
......
......@@ -36,7 +36,11 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
......
......@@ -39,7 +39,11 @@
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
......
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