[Piglit] [PATCH 2/8] util/egl: Include eglext.h from piglit-util-egl.h

Chad Versace chad.versace at linux.intel.com
Sat Oct 12 04:09:16 CEST 2013


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 <chad.versace at linux.intel.com>
---
 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



More information about the Piglit mailing list