mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Merge branch 'fix' into 'master'
Fix compilation error on windows: cannot convert from 'std::filesystem::path'... See merge request OpenMW/openmw!1510
This commit is contained in:
commit
93e355801d
@ -481,7 +481,8 @@ namespace Resource
|
||||
filePath = std::filesystem::relative(filename, osgDB::getCurrentWorkingDirectory());
|
||||
try
|
||||
{
|
||||
return osgDB::ReaderWriter::ReadResult(mImageManager->getImage(filePath), osgDB::ReaderWriter::ReadResult::FILE_LOADED);
|
||||
return osgDB::ReaderWriter::ReadResult(mImageManager->getImage(filePath.string()),
|
||||
osgDB::ReaderWriter::ReadResult::FILE_LOADED);
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user