add comment about syncing BumpAllocators struct

This commit is contained in:
Chad Brokaw 2023-01-17 22:51:46 -05:00
parent c66e7a270c
commit f0587b6770

View file

@ -6,6 +6,7 @@ let STAGE_TILE_ALLOC: u32 = 0x2u;
let STAGE_PATH_COARSE: u32 = 0x4u;
let STAGE_COARSE: u32 = 0x8u;
// This must be kept in sync with the struct in src/render.rs
struct BumpAllocators {
// Bitmask of stages that have failed allocation.
failed: atomic<u32>,