Skip to content

Commit 8b48f4d

Browse files
author
nitrocaster
committed
Add FATAL_F macro (FATAL with format string + args).
1 parent 05e86e6 commit 8b48f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xrCore/xrDebug_macros.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
xrDebug::Fail(ignoreAlways, DEBUG_INFO, #expr, hr, arg1);\
4949
} while (false)
5050
#define FATAL(desc) xrDebug::Fatal(DEBUG_INFO, "%s", desc)
51+
#define FATAL_F(format, ...) xrDebug::Fatal(DEBUG_INFO, format, __VA_ARGS__)
5152

5253
#ifdef VERIFY
5354
#undef VERIFY

0 commit comments

Comments
 (0)