mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix usage of wrong command name when determining the skip count for that command (#1747)
This commit is contained in:
parent
e621db0771
commit
6b132a4628
@ -1830,7 +1830,7 @@ size_t VulkanHppGenerator::determineInitialSkipCount( std::string const & comman
|
|||||||
}
|
}
|
||||||
auto handleIt = m_handles.find( commandIt->second.handle );
|
auto handleIt = m_handles.find( commandIt->second.handle );
|
||||||
assert( handleIt != m_handles.end() );
|
assert( handleIt != m_handles.end() );
|
||||||
if ( !handleIt->second.commands.contains( commandIt->first ) )
|
if ( !handleIt->second.commands.contains( command ) )
|
||||||
{
|
{
|
||||||
assert( 1 < commandIt->second.params.size() );
|
assert( 1 < commandIt->second.params.size() );
|
||||||
assert( m_handles.contains( commandIt->second.params[1].type.type ) );
|
assert( m_handles.contains( commandIt->second.params[1].type.type ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user