mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
[samples] Fix compilation of InstanceLayerExtensionProperties
This commit is contained in:
parent
237d51d478
commit
9aa21f85fc
@ -49,7 +49,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
for ( auto const & layerProperty : layerProperties )
|
||||
{
|
||||
std::vector<vk::ExtensionProperties> extensionProperties =
|
||||
vk::enumerateInstanceExtensionProperties( std::string( layerProperty.layerName ) );
|
||||
vk::enumerateInstanceExtensionProperties( vk::Optional<const std::string>( layerProperty.layerName ) );
|
||||
propertyData.push_back( PropertyData( layerProperty, extensionProperties ) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user