diff --git a/opengl/libs/GLES2/gl2.cpp b/opengl/libs/GLES2/gl2.cpp index dea5b7572..fa8a22876 100644 --- a/opengl/libs/GLES2/gl2.cpp +++ b/opengl/libs/GLES2/gl2.cpp @@ -107,8 +107,10 @@ using namespace android; extern "C" { +#pragma GCC diagnostic ignored "-Wunused-parameter" #include "gl2_api.in" #include "gl2ext_api.in" +#pragma GCC diagnostic warning "-Wunused-parameter" } #undef API_ENTRY diff --git a/opengl/libs/GLES_CM/gl.cpp b/opengl/libs/GLES_CM/gl.cpp index 893577b72..e5de4a765 100644 --- a/opengl/libs/GLES_CM/gl.cpp +++ b/opengl/libs/GLES_CM/gl.cpp @@ -158,8 +158,10 @@ GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type, extern "C" { +#pragma GCC diagnostic ignored "-Wunused-parameter" #include "gl_api.in" #include "glext_api.in" +#pragma GCC diagnostic warning "-Wunused-parameter" } #undef API_ENTRY