[Piglit] [PATCH 1/8] util/gl: Define GL_GLEXT_PROTOTYPES for all GLES1 tests
Chad Versace
chad.versace at linux.intel.com
Sat Oct 12 04:09:15 CEST 2013
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 <chad.versace at linux.intel.com>
---
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
More information about the Piglit
mailing list