feat: error.c have PrintError reset error cond
- allows to continue finding errors instead of spamming the same error
This commit is contained in:
parent
ea3dec1daa
commit
f92030c0cb
|
@ -57,6 +57,7 @@ void _glKosPrintError() {
|
|||
}
|
||||
|
||||
fprintf(stderr, "GL ERROR: %s when calling %s\n", _glErrorEnumAsString(last_error), error_function);
|
||||
_glKosResetError();
|
||||
}
|
||||
|
||||
GLenum glGetError(void) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user