Merge "Disable warnings when generating GL wrappers"

This commit is contained in:
Jesse Hall 2014-05-19 23:48:40 +00:00 committed by Android (Google) Code Review
commit c8fc3a49a2
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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