Merge "Disable warnings when generating GL wrappers"
This commit is contained in:
commit
c8fc3a49a2
@ -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