Disable warnings when generating GL wrappers

Bug: 15028495
Change-Id: Ic0c974e868d05632a06748c90cedbdd409ce2aa8
This commit is contained in:
Jesse Hall 2014-05-13 21:13:14 -07:00
parent 4c0596f4cc
commit bbbddb83bb
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