If you're writing 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 the non-GLES1 apis. Signed-off-by: Chad Versace <[email protected]> --- src/piglit/gl_wrap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/piglit/gl_wrap.h b/src/piglit/gl_wrap.h index 240af3b..e8bbbcd 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> -- 1.8.3.1 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
