mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-10 03:36:42 +00:00
C++17 compat ?
This commit is contained in:
parent
cdd95f7889
commit
a1c8dc9d45
1 changed files with 2 additions and 2 deletions
|
@ -372,7 +372,7 @@ namespace Shader
|
||||||
HotReloadManager()
|
HotReloadManager()
|
||||||
{
|
{
|
||||||
mHotReloadEnabled = false;
|
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 )
|
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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue