mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Fix incorrect log file name for launcherOgre.log
This commit is contained in:
parent
8f4ffe4ddc
commit
3a82f8c193
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace OgreInit
|
|||
{
|
||||
// Set up logging first
|
||||
new Ogre::LogManager;
|
||||
Ogre::Log *log = Ogre::LogManager::getSingleton().createLog(logPath + std::string("Ogre.log"));
|
||||
Ogre::Log *log = Ogre::LogManager::getSingleton().createLog(logPath);
|
||||
|
||||
// Disable logging to cout/cerr
|
||||
log->setDebugOutputEnabled(false);
|
||||
|
|
|
@ -50,7 +50,7 @@ void OgreRenderer::configure(const std::string &logPath,
|
|||
const std::string& rttMode
|
||||
)
|
||||
{
|
||||
mRoot = mOgreInit.init(logPath);
|
||||
mRoot = mOgreInit.init(logPath + "/ogre.log");
|
||||
|
||||
RenderSystem* rs = mRoot->getRenderSystemByName(renderSystem);
|
||||
if (rs == 0)
|
||||
|
|
Loading…
Reference in a new issue