[Piglit] [PATCH 03/29] tests: Replace gl.h with piglit-util.h
Pauli Nieminen
pauli.nieminen at linux.intel.com
Mon May 21 11:08:38 PDT 2012
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
---
tests/egl/egl-util.h | 3 ++-
tests/mesa/util/readtex.c | 1 -
tests/mesa/util/readtex.h | 2 +-
tests/mesa/util/writeimg.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/egl/egl-util.h b/tests/egl/egl-util.h
index 87c2db3..ef523ab 100644
--- a/tests/egl/egl-util.h
+++ b/tests/egl/egl-util.h
@@ -12,10 +12,11 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
-#include <GL/gl.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
+#include "piglit-util.h"
+
struct egl_state {
Display *dpy;
Window win;
diff --git a/tests/mesa/util/readtex.c b/tests/mesa/util/readtex.c
index cc5a364..91d0478 100644
--- a/tests/mesa/util/readtex.c
+++ b/tests/mesa/util/readtex.c
@@ -8,7 +8,6 @@
#include "piglit-util.h"
-#include <GL/gl.h>
#include <GL/glu.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/tests/mesa/util/readtex.h b/tests/mesa/util/readtex.h
index 6c9a382..61c57c7 100644
--- a/tests/mesa/util/readtex.h
+++ b/tests/mesa/util/readtex.h
@@ -4,7 +4,7 @@
#define READTEX_H
-#include <GL/gl.h>
+#include "piglit-util.h"
extern GLboolean
diff --git a/tests/mesa/util/writeimg.c b/tests/mesa/util/writeimg.c
index b243676..e01a770 100644
--- a/tests/mesa/util/writeimg.c
+++ b/tests/mesa/util/writeimg.c
@@ -5,7 +5,7 @@
#include <stdarg.h>
#include <png.h>
-#include <GL/gl.h>
+#include "piglit-util.h"
static void abortf(const char * s, ...)
{
--
1.7.5.4
More information about the Piglit
mailing list