ref: 32d34b7cc6d0d30ba509104e390f52d68a5a4e1f
parent: e87a66034988fd0667dec5657ed489b4797a06e2
author: David <gek@katherine>
date: Thu Feb 18 09:51:44 EST 2021
A
--- a/include/zfeatures.h
+++ b/include/zfeatures.h
@@ -72,5 +72,4 @@
#endif
-
#endif /* _tgl_features_h_ */
--- a/src/msghandling.c
+++ b/src/msghandling.c
@@ -49,13 +49,16 @@
void gl_fatal_error(char* format, ...) {
#ifndef NO_DEBUG_OUTPUT
va_list ap;
-
va_start(ap, format);
-
fprintf(stderr, "TinyGL: fatal error: ");
vfprintf(stderr, format, ap);
fprintf(stderr, "\n");
exit(1);
va_end(ap);
+#else
+ exit(1);
#endif
+
}
+
+