Fix #199 Studio object viewer plugin font
This commit is contained in:
parent
9e948bbf60
commit
e781439e48
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void CObjectViewer::init( NL3D::UDriver *driver )
|
|||
|
||||
// create the text context
|
||||
nlassert(!_TextContext);
|
||||
_TextContext = _Driver->createTextContext(_FontName);
|
||||
_TextContext = _Driver->createTextContext(NLMISC::CPath::lookup(_FontName));
|
||||
nlassert(_TextContext);
|
||||
|
||||
NL3D::CBloomEffect::instance().setDriver(_Driver);
|
||||
|
|
Loading…
Reference in a new issue