Fix issue with unused parameter "vectorAllocator" in some functions. (#277)

+ update to version 94.
This commit is contained in:
Andreas Süßenbach
2018-11-29 13:21:24 +01:00
committed by GitHub
parent 95fde2253b
commit a616542f3c
4 changed files with 622 additions and 268 deletions

View File

@@ -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)
{