diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-09-20 11:45:43 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-11-26 12:31:11 -0800 |
commit | fcedd553b6f8a0c101c3825fe56a77780cd85256 (patch) | |
tree | 3f302e9f044966cdd5011d78289c269c0230209f /src | |
parent | 51abe93713b7a368846ad15795ecf48e23d22a7d (diff) |
util/gl: Define GL_GLEXT_PROTOTYPES for all GLES1 tests
If you're writing a test, you want the extension prototypes defined.
Each GLES1 test shouldn't need to define this.
To fix this, define GL_GLEXT_PROTOTYPES in gl_wrap.h. This makes
Piglit's behavior for GLES1 more closely match its behavior for
GL/GLES2/GLES3. because gl_wrap.h *does* define the extension
prototypes for those non-GLES1 apis.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/piglit/gl_wrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/piglit/gl_wrap.h b/src/piglit/gl_wrap.h index 240af3b7a..e8bbbcdec 100644 --- a/src/piglit/gl_wrap.h +++ b/src/piglit/gl_wrap.h @@ -48,6 +48,7 @@ extern "C" { # include "piglit-dispatch.h" #elif defined(PIGLIT_USE_OPENGL_ES1) +# define GL_GLEXT_PROTOTYPES # include <GLES/gl.h> # include <GLES/glext.h> |