VKMemoryAllocator::Alloc() use new name AllocMemory().
This commit is contained in:
@@ -12,7 +12,7 @@ VKMemoryAllocator::VKMemoryAllocator(GPUDevice *d,const uint32_t flags)
|
||||
|
||||
const GPUPhysicalDevice *pd=device->GetPhysicalDevice();
|
||||
|
||||
SetAllocUnitSize(pd->GetConstantSize()); //<2F><>˵push constant<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>GPU<50><55><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>ʵ<EFBFBD>λ
|
||||
SetAllocUnitSize(pd->GetUBOAlign());
|
||||
}
|
||||
|
||||
VKMemoryAllocator::~VKMemoryAllocator()
|
||||
@@ -24,7 +24,7 @@ VKMemoryAllocator::~VKMemoryAllocator()
|
||||
}
|
||||
}
|
||||
|
||||
bool VKMemoryAllocator::Alloc()
|
||||
bool VKMemoryAllocator::AllocMemory()
|
||||
{
|
||||
if(gpu_buffer)
|
||||
delete gpu_buffer;
|
||||
|
Reference in New Issue
Block a user