Use generated enumeration for sType in struct constructor, instead of generating that value out of the structure's name
- Fixes issues on IOS and MacOS platform - Added some checks on vendorids, tags, and some types.
This commit is contained in:
committed by
Markus Tavenrath
parent
6e12cceb37
commit
509a3df5bb
@@ -12510,7 +12510,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct IOSSurfaceCreateInfoMVK
|
||||
{
|
||||
IOSSurfaceCreateInfoMVK( IOSSurfaceCreateFlagsMVK flags_ = IOSSurfaceCreateFlagsMVK(), const void* pView_ = nullptr )
|
||||
: sType( StructureType::eIOSSurfaceCreateInfoMVK )
|
||||
: sType( StructureType::eIosSurfaceCreateInfoMVK )
|
||||
, pNext( nullptr )
|
||||
, flags( flags_ )
|
||||
, pView( pView_ )
|
||||
@@ -12578,7 +12578,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct MacOSSurfaceCreateInfoMVK
|
||||
{
|
||||
MacOSSurfaceCreateInfoMVK( MacOSSurfaceCreateFlagsMVK flags_ = MacOSSurfaceCreateFlagsMVK(), const void* pView_ = nullptr )
|
||||
: sType( StructureType::eMacOSSurfaceCreateInfoMVK )
|
||||
: sType( StructureType::eMacosSurfaceCreateInfoMVK )
|
||||
, pNext( nullptr )
|
||||
, flags( flags_ )
|
||||
, pView( pView_ )
|
||||
|
||||
Reference in New Issue
Block a user