Commit c5d4ca05 authored by Vinson Lee's avatar Vinson Lee Committed by Brian Paul

Mac OS fixes for general tests.

Include GLUT/glut.h instead of GL/glut.h on Mac OS. All the general
tests compile and run on Mac OS with this patch.
parent 2e84d1ef
......@@ -31,7 +31,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
......
......@@ -34,7 +34,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
......
......@@ -31,7 +31,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
......
......@@ -39,7 +39,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
......
......@@ -35,7 +35,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.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