mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 19:55:51 +00:00
Merge branch 'master' of https://github.com/AxioDL/hecl
This commit is contained in:
commit
45caf1d649
@ -18,11 +18,15 @@ public:
|
||||
else
|
||||
dir = &info.cwd;
|
||||
|
||||
if (HECL::Stat(dir->c_str(), &theStat))
|
||||
{
|
||||
HECL::MakeDir(dir->c_str());
|
||||
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))
|
||||
{
|
||||
LogModule.report(LogVisor::FatalError, _S("'%s' is not a directory"), dir->c_str());
|
||||
|
@ -75,7 +75,7 @@ struct HECLApplicationCallback : boo::IApplicationCallback
|
||||
boo::IGraphicsDataFactory* gfxF = m_mainWindow->getLoadContextDataFactory();
|
||||
|
||||
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::Runtime::FileStoreManager fileMgr(app->getUniqueName());
|
||||
|
Loading…
x
Reference in New Issue
Block a user