mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-22 10:42:11 -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() {
|
||||
LOG();
|
||||
LOAD_GLES_FUNC(glGetError);
|
||||
GLuint err = gles_glGetError();
|
||||
GLenum err = gles_glGetError();
|
||||
// just clear gles error, no reporting
|
||||
if (err != GL_NO_ERROR) {
|
||||
if(global_settings.ignore_error >= 2) {
|
||||
// no logging without DEBUG
|
||||
LOG_W("glGetError\n -> %d", err)
|
||||
LOG_W("Now try to cheat.")
|
||||
return GL_NO_ERROR;
|
||||
} else {
|
||||
LOG_E(" -> %d", err)
|
||||
}
|
||||
// no logging without DEBUG
|
||||
LOG_W("glGetError\n -> %d", err)
|
||||
LOG_W("Now try to cheat.")
|
||||
}
|
||||
return err;
|
||||
return GL_NO_ERROR;
|
||||
}
|
||||
|
||||
static std::string es_ext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user