Disable warnings when generating GL wrappers
Bug: 15028495 Change-Id: Ic0c974e868d05632a06748c90cedbdd409ce2aa8
This commit is contained in:
parent
4c0596f4cc
commit
bbbddb83bb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user