mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Print the name of the type in pool errors
This commit is contained in:
@@ -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"); \
|
||||
"Pool is bigger than max pool size cap for " #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