Signed-off-by: Vinson Lee <[email protected]>
---
tests/egl/egl-util.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/tests/egl/egl-util.h b/tests/egl/egl-util.h
index 249319d..614e586 100644
--- a/tests/egl/egl-util.h
+++ b/tests/egl/egl-util.h
@@ -15,6 +15,13 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
+#ifndef EGL_KHR_gl_colorspace
+#define EGL_KHR_gl_colorspace 1
+#define EGL_GL_COLORSPACE_KHR 0x309D
+#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089
+#define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A
+#endif /* EGL_KHR_gl_colorspace */
+
struct egl_state {
Display *dpy;
Window win;
--
1.7.1
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit