Fixes up missing return for getting the present queue index
This commit is contained in:
@@ -44,6 +44,8 @@ namespace fgl::engine
|
||||
{
|
||||
if ( queue_info[ i ].can_present ) return i;
|
||||
}
|
||||
|
||||
throw std::runtime_error( "Unable to find present queue" );
|
||||
}
|
||||
|
||||
} // namespace fgl::engine
|
||||
|
||||
Reference in New Issue
Block a user