Commit e6d4a084 authored by Chad Versace's avatar Chad Versace

piglit: Include glut_waffle.h if USE_WAFFLE is enabled

Reviewed-by: default avatarPauli Nieminen <pauli.nieminen@intel.com>
Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat's avatarAnuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent f63a777a
...@@ -42,7 +42,9 @@ extern "C" { ...@@ -42,7 +42,9 @@ extern "C" {
#include <windows.h> #include <windows.h>
#endif #endif
#ifdef USE_GLUT #if defined(USE_WAFFLE)
# include <glut_waffle/glut_waffle.h>
#elif defined(USE_GLUT)
# ifdef __APPLE__ # ifdef __APPLE__
# include <GLUT/glut.h> # include <GLUT/glut.h>
...@@ -58,9 +60,7 @@ extern "C" { ...@@ -58,9 +60,7 @@ extern "C" {
# include <GL/freeglut_ext.h> # include <GL/freeglut_ext.h>
# endif # endif
# endif # endif
#endif #elif defined(USE_EGLUT)
#ifdef USE_EGLUT
# include <glut_egl/glut_egl.h> # include <glut_egl/glut_egl.h>
#endif #endif
......
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