mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 01:29:19 +00:00
Fix macro for pool name in assert
This commit is contained in:
1 parent
1ba4a8ad1e
commit
eb5ae4a1bf
1 file changed
+1
-1
@@ -272,7 +272,7 @@ private:
|
||||
template <> \
|
||||
const size_t a::PoolType::AllocByteSize = sizeof(a); \
|
||||
RDCCOMPILE_ASSERT(a::PoolType::AllocCount * sizeof(a) <= a::PoolType::AllocMaxByteSize, \
|
||||
"Pool is bigger than max pool size cap for " #a); \
|
||||
"Pool is bigger than max pool size cap for " STRINGIZE(a)); \
|
||||
RDCCOMPILE_ASSERT(a::PoolType::AllocCount > 2, \
|
||||
"Pool isn't greater than 2 in size. Bad parameters?"); \
|
||||
DECL_TYPENAME(a);
|
||||
Reference in new issue
Block a user