mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-15 15:30:56 -04:00
Don't use windows path separator.
This commit is contained in:
parent
4fd7537155
commit
e2560de05a
@ -38,7 +38,7 @@ TextOverlay::TextOverlay(const Ogre::MovableObject* obj, const Ogre::Camera* cam
|
|||||||
mFont = Ogre::FontManager::getSingleton().getByName("DejaVuLGC","General");
|
mFont = Ogre::FontManager::getSingleton().getByName("DejaVuLGC","General");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("resources\\mygui", "FileSystem");
|
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("resources/mygui", "FileSystem");
|
||||||
mFont = Ogre::FontManager::getSingleton().create("DejaVuLGC","General");
|
mFont = Ogre::FontManager::getSingleton().create("DejaVuLGC","General");
|
||||||
mFont->setType(Ogre::FT_TRUETYPE);
|
mFont->setType(Ogre::FT_TRUETYPE);
|
||||||
mFont->setSource("DejaVuLGCSansMono.ttf");
|
mFont->setSource("DejaVuLGCSansMono.ttf");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user