Route platform frame hooks through services

This commit is contained in:
2026-06-03 04:41:01 +02:00
parent 22006eaf47
commit dd641c047b
10 changed files with 85 additions and 16 deletions

View File

@@ -219,6 +219,16 @@ void App::request_app_close()
active_platform_services().request_app_close();
}
void App::update_platform_frame(float delta_time_seconds)
{
active_platform_services().update_platform_frame(delta_time_seconds);
}
void App::report_rendered_frames(int frames)
{
active_platform_services().report_rendered_frames(frames);
}
void App::save_prepared_file(
std::string path,
std::string suggested_name,