mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-15 22:21:00 +00:00
Replace toNormalized by Normalized
fname type cannot be changed because it's part of mygui library interface.
This commit is contained in:
parent
85edc49f2f
commit
a78f5182e4
@ -95,7 +95,7 @@ namespace osgMyGUI
|
||||
if (!mImageManager)
|
||||
throw std::runtime_error("No imagemanager set");
|
||||
|
||||
osg::ref_ptr<osg::Image> image(mImageManager->getImage(VFS::Path::toNormalized(fname)));
|
||||
osg::ref_ptr<osg::Image> image(mImageManager->getImage(VFS::Path::Normalized(fname)));
|
||||
mTexture = new osg::Texture2D(image);
|
||||
mTexture->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);
|
||||
mTexture->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user