fix windows build

This commit is contained in:
nmzik
2026-08-29 14:46:54 +04:00
parent fcc9dff5b9
commit f1413569ce
7 changed files with 9 additions and 15 deletions
@@ -327,7 +327,7 @@ void PipelineCache::Save() {
const bool flushed = !file.IsInvalid() && file.Flush();
file.Close();
if (prefix_written != prefix.size() || payload_written != payload.size() || !flushed ||
!Common::File::MoveFile(temp_path, m_driver_cache_path)) {
!Common::File::RenameFile(temp_path, m_driver_cache_path)) {
PipelineCacheLog("Vulkan pipeline cache: failed to write {}",
Common::PathToString(m_driver_cache_path));
return;