Fix issue with unused parameter "vectorAllocator" in some functions. (#277)
+ update to version 94.
This commit is contained in:
committed by
GitHub
parent
95fde2253b
commit
a616542f3c
@@ -47,6 +47,9 @@ int main(int /*argc*/, char * /*argv[]*/)
|
||||
|
||||
std::vector<uint8_t> data;
|
||||
device->getAccelerationStructureHandleNV<uint8_t>({}, data, vk::DispatchLoaderDynamic());
|
||||
|
||||
std::vector<vk::UniqueCommandBuffer>::allocator_type vectorAllocator;
|
||||
std::vector<vk::UniqueCommandBuffer> commandBuffers = device->allocateCommandBuffersUnique({}, vectorAllocator, vk::DispatchLoaderStatic());
|
||||
}
|
||||
catch (vk::SystemError err)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user