Skip to content

Commit

Permalink
Fix usage of wrong command name when determining the skip count for t…
Browse files Browse the repository at this point in the history
…hat command
  • Loading branch information
asuessenbach committed Dec 11, 2023
1 parent e621db0 commit 5f53e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ size_t VulkanHppGenerator::determineInitialSkipCount( std::string const & comman
}
auto handleIt = m_handles.find( commandIt->second.handle );
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( m_handles.contains( commandIt->second.params[1].type.type ) );
Expand Down

0 comments on commit 5f53e5c

Please sign in to comment.