diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/piglit/gl_wrap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/piglit/gl_wrap.h b/src/piglit/gl_wrap.h index eb3de29d9..dc0afe87d 100644 --- a/src/piglit/gl_wrap.h +++ b/src/piglit/gl_wrap.h @@ -29,7 +29,7 @@ * \brief Convenience header that includes the actual OpenGL headers. * * The actual OpenGL headers are chosen according to the macro definitions - * USE_OPENGL and USE_OPENGL_ES2. + * USE_OPENGL, USE_OPENGL_ES1, and USE_OPENGL_ES2. */ #pragma once @@ -56,6 +56,11 @@ extern "C" { # endif #endif +#ifdef USE_OPENGL_ES1 +# include <GLES/gl.h> +# include <GLES/glext.h> +#endif + #ifdef USE_OPENGL_ES2 # include <GLES2/gl2.h> # include <GLES2/gl2ext.h> |