File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
35
35
std::recursive_mutex stAccessVerfier;
36
36
#endif // _NBL_DEBUG
37
37
38
- constexpr static inline uint32_t MaxDescriptorSetAllocationAlignment = 64u * 1024u ; // if you need larger alignments then you're not right in the head
38
+ constexpr static inline uint32_t MaxDescriptorSetAllocationAlignment = 1u ;
39
39
constexpr static inline uint32_t MinDescriptorSetAllocationSize = 1u ;
40
40
41
41
public:
@@ -83,7 +83,7 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
83
83
if (range.reservedSize == 0 )
84
84
continue ;
85
85
auto ptr = reinterpret_cast <const uint8_t *>(core::address_allocator_traits<AddressAllocator>::getReservedSpacePtr (*range.addressAllocator ));
86
- range.addressAllocator -> ~PoolAddressAllocator () ;
86
+ range.addressAllocator = nullptr ;
87
87
range.reservedAllocator ->deallocate (const_cast <uint8_t *>(ptr), range.reservedSize );
88
88
}
89
89
}
You can’t perform that action at this time.
0 commit comments