graphics: serialize pipeline cache through its renderer owner

This commit is contained in:
nmzik
2026-09-29 03:53:10 +04:00
parent 0fbeac6d3f
commit 6d6666819a
3 changed files with 3 additions and 8 deletions
@@ -817,6 +817,7 @@ void WindowRun() {
EXIT_IF(g_window == nullptr);
g_window->Run();
Common::LockGuard lock(g_window->render_context->GetMutex());
g_window->render_context->GetPipelineCache().Save();
}