ref: 6b341f61e1c9da209150d2f8b1940f0b1b241b9c
dir: /src/error.c/
#include "zgl.h"
#include <stdarg.h>
void gl_fatal_error(char* format, ...) {
va_list ap;
va_start(ap, format);
fprintf(stderr, "TinyGL: fatal error: ");
vfprintf(stderr, format, ap);
fprintf(stderr, "\n");
exit(1);
va_end(ap);
}