further clean allocations
This commit is contained in:
parent
bd578e1d98
commit
6f369cbec1
1 changed files with 1 additions and 6 deletions
|
@ -40,12 +40,7 @@ initAllocator physicalDevice device instance' = do
|
||||||
} :: VMA.VulkanFunctions)
|
} :: VMA.VulkanFunctions)
|
||||||
} :: VMA.AllocatorCreateInfo
|
} :: VMA.AllocatorCreateInfo
|
||||||
|
|
||||||
(_, allocator) <- allocate
|
(_, allocator) <- VMA.withAllocator allocatorInfo allocate
|
||||||
(VMA.createAllocator allocatorInfo)
|
|
||||||
(\allocator -> do
|
|
||||||
putStrLn "destroying allocator"
|
|
||||||
VMA.destroyAllocator allocator
|
|
||||||
)
|
|
||||||
|
|
||||||
return allocator
|
return allocator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue