mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-22 18:53:35 -04:00
Merge branch 'plugin' of https://github.com/Swung0x48/MobileGlues into plugin
This commit is contained in:
commit
5852bb489a
@ -45,18 +45,14 @@ void glGetIntegerv(GLenum pname, GLint *params) {
|
|||||||
GLenum glGetError() {
|
GLenum glGetError() {
|
||||||
LOG();
|
LOG();
|
||||||
LOAD_GLES_FUNC(glGetError);
|
LOAD_GLES_FUNC(glGetError);
|
||||||
GLuint err = gles_glGetError();
|
GLenum err = gles_glGetError();
|
||||||
|
// just clear gles error, no reporting
|
||||||
if (err != GL_NO_ERROR) {
|
if (err != GL_NO_ERROR) {
|
||||||
if(global_settings.ignore_error >= 2) {
|
// no logging without DEBUG
|
||||||
// no logging without DEBUG
|
LOG_W("glGetError\n -> %d", err)
|
||||||
LOG_W("glGetError\n -> %d", err)
|
LOG_W("Now try to cheat.")
|
||||||
LOG_W("Now try to cheat.")
|
|
||||||
return GL_NO_ERROR;
|
|
||||||
} else {
|
|
||||||
LOG_E(" -> %d", err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return err;
|
return GL_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::string es_ext;
|
static std::string es_ext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user