aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-12-05 21:30:51 +0100
committerkdx <kikoodx@paranoici.org>2023-12-05 21:37:21 +0100
commit1546f59de4e15fd6653cce36b8719c1c9c0fdd8d (patch)
tree2fb07b49562512e5af5a8df39c7a8445a8ab9f62 /headers
parent9c9f90bd045013e5657bb7402a46e80448c65b67 (diff)
downloadtzr-1546f59de4e15fd6653cce36b8719c1c9c0fdd8d.tar.gz
configurable TZR_Log
Diffstat (limited to 'headers')
-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.