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.AllocatorCreateInfo
|
||||
|
||||
(_, allocator) <- allocate
|
||||
(VMA.createAllocator allocatorInfo)
|
||||
(\allocator -> do
|
||||
putStrLn "destroying allocator"
|
||||
VMA.destroyAllocator allocator
|
||||
)
|
||||
(_, allocator) <- VMA.withAllocator allocatorInfo allocate
|
||||
|
||||
return allocator
|
||||
|
||||
|
|
Loading…
Reference in a new issue