[Piglit] [PATCH 06/13] util/gl: Include GLES3 headers

Chad Versace chad.versace at linux.intel.com
Tue Nov 27 17:52:04 PST 2012


Let gl_wrap.h include the GLES3 headers when feature macro
PIGLIT_USE_OPENGL_ES3 is defined.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 src/piglit/gl_wrap.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/piglit/gl_wrap.h b/src/piglit/gl_wrap.h
index 7f646cb..14d24c3 100644
--- a/src/piglit/gl_wrap.h
+++ b/src/piglit/gl_wrap.h
@@ -60,6 +60,9 @@ extern "C" {
 #elif defined(PIGLIT_USE_OPENGL_ES2)
 #	include <GLES2/gl2.h>
 #	include <GLES2/gl2ext.h>
+#elif defined(PIGLIT_USE_OPENGL_ES3)
+#	include <GLES3/gl3.h>
+#	include <GLES3/gl3ext.h>
 #endif
 
 #ifdef __cplusplus
-- 
1.7.11.7



More information about the Piglit mailing list