summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-11-27 11:40:20 -0800
committerChad Versace <chad.versace@linux.intel.com>2012-11-29 17:08:01 -0800
commitc26a54df1c5d4fbe8bd489272f04db334767d581 (patch)
tree0247abb989a2b7109cc23a528fa03578c625a26f /src
parent2f1429499d4e09eafc67b72395302abde5c9bfe9 (diff)
util/gl: Include GLES3 headers
Let gl_wrap.h include the GLES3 headers when feature macro PIGLIT_USE_OPENGL_ES3 is defined. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src')
-rw-r--r--src/piglit/gl_wrap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/piglit/gl_wrap.h b/src/piglit/gl_wrap.h
index 7f646cb30..14d24c3cd 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