summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-03-06 11:31:29 -0800
committerBrad Linden <brad@lindenlab.com>2023-03-06 11:38:24 -0800
commit8564da58315d015bc2cd60e5f15395e4173d9adc (patch)
treea067a579f26a72c3f26d5f2eef7a89f6d4f87c87 /indra/llcommon
parent56e5385bd25cc50ea0055f5703dc3c24a5acfc93 (diff)
Improved detail for llvertexbuffer attribute mask assertion failure in DRTVWR-559
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llerror.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h
index d06c0e2132..b7dec3cb7f 100644
--- a/indra/llcommon/llerror.h
+++ b/indra/llcommon/llerror.h
@@ -82,9 +82,11 @@ const int LL_ERR_NOERR = 0;
#ifdef SHOW_ASSERT
#define llassert(func) llassert_always_msg(func, #func)
+#define llassert_msg(func, msg) llassert_always_msg(func, msg)
#define llverify(func) llassert_always_msg(func, #func)
#else
#define llassert(func)
+#define llassert_msg(func, msg)
#define llverify(func) do {if (func) {}} while(0)
#endif