If you're writing an EGL test, you likely want access to the extensions. This makes piglit-util-egl.h's behavior match that of piglit-util-gl-common.h, which defines (transitively through gl_wrap.h) all the GL/GLES extensions.
Signed-off-by: Chad Versace <[email protected]> --- tests/util/piglit-util-egl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/util/piglit-util-egl.h b/tests/util/piglit-util-egl.h index be4e452..c43cdf9 100644 --- a/tests/util/piglit-util-egl.h +++ b/tests/util/piglit-util-egl.h @@ -23,7 +23,10 @@ #pragma once +#define EGL_EGLEXT_PROTOTYPES + #include <EGL/egl.h> +#include <EGL/eglext.h> #include "piglit-util-gl-common.h" -- 1.8.3.1 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
