Maybe a better plan is to have the test detect that those aren't defined and skip? On Jul 9, 2015 22:52, "Vinson Lee" <[email protected]> wrote:
> 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 >
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
