[Piglit] [PATCH 12/14] piglit: Include glut_waffle.h if USE_WAFFLE is enabled
Chad Versace
chad.versace at linux.intel.com
Mon May 21 23:15:20 PDT 2012
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
src/piglit/glut_wrap.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/piglit/glut_wrap.h b/src/piglit/glut_wrap.h
index e28bac9..4f1c2f9 100644
--- a/src/piglit/glut_wrap.h
+++ b/src/piglit/glut_wrap.h
@@ -42,7 +42,9 @@ extern "C" {
#include <windows.h>
#endif
-#ifdef USE_GLUT
+#if defined(USE_WAFFLE)
+# include <glut_waffle/glut_waffle.h>
+#elif defined(USE_GLUT)
# ifdef __APPLE__
# include <GLUT/glut.h>
@@ -58,9 +60,7 @@ extern "C" {
# include <GL/freeglut_ext.h>
# endif
# endif
-#endif
-
-#ifdef USE_EGLUT
+#elif defined(USE_EGLUT)
# include <glut_egl/glut_egl.h>
#endif
--
1.7.10.1
More information about the Piglit
mailing list