mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
files structure reorganization, compilation BROKEN. compilation will be fixed soon.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "tinygl/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);
|
||||
}
|
||||
Reference in New Issue
Block a user