From f92030c0cbcc328b826ec27d926fc814721536eb Mon Sep 17 00:00:00 2001 From: Hayden Kowalchuk <819028+mrneo240@users.noreply.github.com> Date: Thu, 5 Mar 2020 15:14:26 -0500 Subject: [PATCH] feat: error.c have PrintError reset error cond - allows to continue finding errors instead of spamming the same error --- GL/error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/GL/error.c b/GL/error.c index 459fa29..49732e5 100644 --- a/GL/error.c +++ b/GL/error.c @@ -57,6 +57,7 @@ void _glKosPrintError() { } fprintf(stderr, "GL ERROR: %s when calling %s\n", _glErrorEnumAsString(last_error), error_function); + _glKosResetError(); } GLenum glGetError(void) {