aboutsummaryrefslogtreecommitdiff
path: root/headers/TZR.h
diff options
context:
space:
mode:
Diffstat (limited to 'headers/TZR.h')
-rw-r--r--headers/TZR.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index 17129c8..fab1c55 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -4,6 +4,10 @@
#include "TZR_events.h"
#include <SDL2/SDL_main.h>
+#ifndef TZR_Log
+#define TZR_Log SDL_Log
+#endif
+
/* TZR manages all loaded resources internally and tries to avoid duplicate.
* A resource can be loaded multiple times if asked, identification doesn't rely
* on filepath. In doubt, use TZR_LoadResource ONCE per asset and store the ID.