Fixes up missing return for getting the present queue index

This commit is contained in:
2024-06-24 07:53:31 -04:00
parent 275cdbe31e
commit 27648ff58a

View File

@@ -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