]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/memoryallocator.cpp
Remove the unused get_allocation_size function
[libs/gl.git] / source / backends / vulkan / memoryallocator.cpp
index 6ef5d2bd7a6b8714fb545997819abb11e1995fa9..4289e28d6a64a20b39d6dc87ba161ad6749ba4bc 100644 (file)
@@ -116,11 +116,6 @@ void MemoryAllocator::release(unsigned id)
        vk.FreeMemory(alloc.memory);
 }
 
-size_t MemoryAllocator::get_allocation_size(unsigned id) const
-{
-       return get_allocation(id).size;
-}
-
 void *MemoryAllocator::map(unsigned id, size_t offset, size_t size)
 {
        Allocation &alloc = get_allocation(id);