forked from teamnwah/openmw-tes3coop
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
|
// Set up logging first
|
||||||
new Ogre::LogManager;
|
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
|
// Disable logging to cout/cerr
|
||||||
log->setDebugOutputEnabled(false);
|
log->setDebugOutputEnabled(false);
|
||||||
|
|
|
@ -50,7 +50,7 @@ void OgreRenderer::configure(const std::string &logPath,
|
||||||
const std::string& rttMode
|
const std::string& rttMode
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
mRoot = mOgreInit.init(logPath);
|
mRoot = mOgreInit.init(logPath + "/ogre.log");
|
||||||
|
|
||||||
RenderSystem* rs = mRoot->getRenderSystemByName(renderSystem);
|
RenderSystem* rs = mRoot->getRenderSystemByName(renderSystem);
|
||||||
if (rs == 0)
|
if (rs == 0)
|
||||||
|
|
Loading…
Reference in a new issue