mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-19 21:43:41 -04:00
REVIEWED: TRACELOG() macro logic
This commit is contained in:
@ -124,10 +124,11 @@
|
|||||||
#define SUPPORT_CLIPBOARD_IMAGE 1
|
#define SUPPORT_CLIPBOARD_IMAGE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SUPPORT_TRACELOG
|
#if !defined(SUPPORT_TRACELOG) || !SUPPORT_TRACELOG
|
||||||
#define TRACELOG(level, ...) TraceLog(level, __VA_ARGS__)
|
// Not defined or disabled
|
||||||
#else
|
|
||||||
#define TRACELOG(level, ...) (void)0
|
#define TRACELOG(level, ...) (void)0
|
||||||
|
#else
|
||||||
|
#define TRACELOG(level, ...) TraceLog(level, __VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// rcore: Configuration values
|
// rcore: Configuration values
|
||||||
|
|||||||
Reference in New Issue
Block a user