ref: e215ef38e157469b503c7322b22d4a80875f8ae9
dir: /src/error.c/
#include <stdarg.h> #include "zgl.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); }