feat: error.c have PrintError reset error cond

- allows to continue finding errors instead of spamming the same error
This commit is contained in:
Hayden Kowalchuk 2020-03-05 15:14:26 -05:00
parent ea3dec1daa
commit f92030c0cb

View File

@ -57,6 +57,7 @@ void _glKosPrintError() {
}
fprintf(stderr, "GL ERROR: %s when calling %s\n", _glErrorEnumAsString(last_error), error_function);
_glKosResetError();
}
GLenum glGetError(void) {