mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
dtoolbase: Add comment clarifying assertion in DeletedBufferChain
[skip ci]
This commit is contained in:
parent
587f9f7bcd
commit
d8a537b59b
@ -36,6 +36,7 @@ allocate(size_t size, TypeHandle type_handle) {
|
||||
#ifdef USE_DELETED_CHAIN
|
||||
// TAU_PROFILE("void *DeletedBufferChain::allocate(size_t, TypeHandle)", "
|
||||
// ", TAU_USER);
|
||||
// If this triggers, maybe you forgot ALLOC_DELETED_CHAIN in a subclass?
|
||||
assert(size <= _buffer_size);
|
||||
|
||||
// Determine how much space to allocate.
|
||||
|
Loading…
x
Reference in New Issue
Block a user