diff options
Diffstat (limited to 'o3d/command_buffer/client/cross/id_allocator.h')
-rw-r--r-- | o3d/command_buffer/client/cross/id_allocator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/o3d/command_buffer/client/cross/id_allocator.h b/o3d/command_buffer/client/cross/id_allocator.h index 26fe1f5..8a91022 100644 --- a/o3d/command_buffer/client/cross/id_allocator.h +++ b/o3d/command_buffer/client/cross/id_allocator.h @@ -50,19 +50,19 @@ class IdAllocator { IdAllocator(); // Allocates a new resource ID. - command_buffer::ResourceID AllocateID() { + command_buffer::ResourceId AllocateID() { unsigned int bit = FindFirstFree(); SetBit(bit, true); return bit; } // Frees a resource ID. - void FreeID(command_buffer::ResourceID id) { + void FreeID(command_buffer::ResourceId id) { SetBit(id, false); } // Checks whether or not a resource ID is in use. - bool InUse(command_buffer::ResourceID id) { + bool InUse(command_buffer::ResourceId id) { return GetBit(id); } private: |