1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-15 22:49:48 +00:00

C++17 compat ?

This commit is contained in:
florent.teppe 2022-08-04 09:50:02 +02:00
parent cdd95f7889
commit a1c8dc9d45

View File

@ -372,7 +372,7 @@ namespace Shader
HotReloadManager()
{
mHotReloadEnabled = false;
mLastAutoRecompileTime = std::chrono::file_clock::now();
mLastAutoRecompileTime = std::filesystem::file_time_type::clock::now();
}
void addShaderFiles(std::set<std::filesystem::path>& shaderFiles,const osg::ref_ptr<osg::Shader>& shader,const std::string& templateName,const ShaderManager::DefineMap& defines )
@ -437,7 +437,7 @@ namespace Shader
}
}
}
mLastAutoRecompileTime = std::chrono::file_clock::now();
mLastAutoRecompileTime = std::filesystem::file_time_type::clock::now();
}
};