mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
cd74d1af33
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
17 lines
243 B
C
17 lines
243 B
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);
|
|
}
|