mirror of https://github.com/AxioDL/metaforce.git
Merge branch 'master' of https://github.com/AxioDL/hecl
This commit is contained in:
commit
45caf1d649
|
@ -20,8 +20,12 @@ public:
|
||||||
|
|
||||||
if (HECL::Stat(dir->c_str(), &theStat))
|
if (HECL::Stat(dir->c_str(), &theStat))
|
||||||
{
|
{
|
||||||
LogModule.report(LogVisor::FatalError, _S("unable to stat '%s'"), dir->c_str());
|
HECL::MakeDir(dir->c_str());
|
||||||
return;
|
if (HECL::Stat(dir->c_str(), &theStat))
|
||||||
|
{
|
||||||
|
LogModule.report(LogVisor::FatalError, _S("unable to stat '%s'"), dir->c_str());
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!S_ISDIR(theStat.st_mode))
|
if (!S_ISDIR(theStat.st_mode))
|
||||||
{
|
{
|
||||||
|
|
|
@ -75,7 +75,7 @@ struct HECLApplicationCallback : boo::IApplicationCallback
|
||||||
boo::IGraphicsDataFactory* gfxF = m_mainWindow->getLoadContextDataFactory();
|
boo::IGraphicsDataFactory* gfxF = m_mainWindow->getLoadContextDataFactory();
|
||||||
|
|
||||||
boo::SWindowRect mainWindowRect = m_mainWindow->getWindowFrame();
|
boo::SWindowRect mainWindowRect = m_mainWindow->getWindowFrame();
|
||||||
renderTex = gfxF->newRenderTexture(mainWindowRect.size[0], mainWindowRect.size[1]);
|
renderTex = gfxF->newRenderTexture(mainWindowRect.size[0], mainWindowRect.size[1], false, false);
|
||||||
|
|
||||||
/* HECL managers */
|
/* HECL managers */
|
||||||
HECL::Runtime::FileStoreManager fileMgr(app->getUniqueName());
|
HECL::Runtime::FileStoreManager fileMgr(app->getUniqueName());
|
||||||
|
|
Loading…
Reference in New Issue