Bring back default arguments to ObjectDestroy class. Update header to Vulkan 1.130 (#468)

Fix issue #467
This commit is contained in:
Markus Tavenrath
2020-01-03 10:59:59 +01:00
committed by GitHub
parent 021c7499a0
commit 499d4bb33d
5 changed files with 1865 additions and 98 deletions

View File

@@ -1,4 +1,4 @@
// Copyright(c) 2015-2019, NVIDIA CORPORATION. All rights reserved.
// Copyright(c) 2015-2020, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -4559,7 +4559,7 @@ int main( int argc, char **argv )
, m_dispatch( nullptr )
{}
ObjectDestroy( OwnerType owner, Optional<const AllocationCallbacks> allocationCallbacks, Dispatch const &dispatch ) VULKAN_HPP_NOEXCEPT
ObjectDestroy( OwnerType owner, Optional<const AllocationCallbacks> allocationCallbacks = nullptr, Dispatch const &dispatch = Dispatch() ) VULKAN_HPP_NOEXCEPT
: m_owner( owner )
, m_allocationCallbacks( allocationCallbacks )
, m_dispatch( &dispatch )