Cleanup: Draw: max_orphan_cycles clarification
This commit is contained in:
parent
478e1ab6d3
commit
96d6003b92
|
@ -186,6 +186,8 @@ void DRW_texture_pool_give_texture_ownership(DRWTexturePool *pool, GPUTexture *t
|
|||
|
||||
void DRW_texture_pool_reset(DRWTexturePool *pool)
|
||||
{
|
||||
/** Defer deallocation enough cycles to avoid interleaved calls to different DRW_draw/DRW_render
|
||||
* functions causing constant allocation/deallocation (See #113024). */
|
||||
const int max_orphan_cycles = 8;
|
||||
|
||||
pool->last_user_id = -1;
|
||||
|
|
Loading…
Reference in New Issue