mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 17:15:34 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue