It builds. I wonder if this should go into piglit-util-egl.h instead. Your call. Either way,
Tested-by: Ilia Mirkin <[email protected]> On Wed, Oct 19, 2016 at 2:54 PM, Chad Versace <[email protected]> wrote: > The test required unreleased EGL headers. Oops. Add the needed header > extension snippets to the C file. > > Reported-by: Ilia Mirkin <[email protected]> > Reported-by: Mark Janes <[email protected]> > --- > > This patch needs a tested-by from someone without superfresh headers. > > .../egl_mesa_platform_surfaceless.c | 10 > ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git > a/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c > > b/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c > index 3bbd6aa..cfe1164 100644 > --- > a/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c > +++ > b/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c > @@ -24,6 +24,16 @@ > #include "piglit-util.h" > #include "piglit-util-egl.h" > > +#ifndef EGL_KHR_no_config_context > +#define EGL_KHR_no_config_context 1 > +#define EGL_NO_CONFIG_KHR ((EGLConfig)0) > +#endif /* EGL_KHR_no_config_context */ > + > +#ifndef EGL_MESA_platform_surfaceless > +#define EGL_MESA_platform_surfaceless 1 > +#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD > +#endif /* EGL_MESA_platform_surfaceless */ > + > static void > test_setup(EGLDisplay *dpy) > { > -- > 2.10.0 > _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
