mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
This commit is contained in:
@@ -155,7 +155,7 @@ void TraceLog(int logType, const char *text, ...)
|
||||
|
||||
va_end(args);
|
||||
|
||||
if (logType == LOG_ERROR) exit(1); // If error, exit program
|
||||
if (logType == LOG_FATAL) exit(EXIT_FAILURE); // If fatal logging, exit program
|
||||
|
||||
#endif // SUPPORT_TRACELOG
|
||||
}
|
||||
|
Reference in New Issue
Block a user