mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-26 06:35:51 +00:00
restore debug.log output on non-win32 platforms
This commit is contained in:
parent
7d2b3965a9
commit
385d05f905
1 changed files with 2 additions and 2 deletions
|
@ -864,7 +864,6 @@ const float SORT_DELAY = 10;
|
||||||
Core::Core(const std::string &filesystem, int numRenderLayers, const std::string &appName, int particleSize, std::string userDataSubFolder)
|
Core::Core(const std::string &filesystem, int numRenderLayers, const std::string &appName, int particleSize, std::string userDataSubFolder)
|
||||||
: ActionMapper(), StateManager(), appName(appName)
|
: ActionMapper(), StateManager(), appName(appName)
|
||||||
{
|
{
|
||||||
_logOut.open((debugLogPath + "debug.log").c_str());
|
|
||||||
sound = NULL;
|
sound = NULL;
|
||||||
screenCapScale = Vector(1,1,1);
|
screenCapScale = Vector(1,1,1);
|
||||||
timeUpdateType = TIMEUPDATE_DYNAMIC;
|
timeUpdateType = TIMEUPDATE_DYNAMIC;
|
||||||
|
@ -899,6 +898,7 @@ Core::Core(const std::string &filesystem, int numRenderLayers, const std::string
|
||||||
debugLogPath = "";
|
debugLogPath = "";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
_logOut.open((debugLogPath + "debug.log").c_str());
|
||||||
debugLogActive = true;
|
debugLogActive = true;
|
||||||
|
|
||||||
debugLogTextures = true;
|
debugLogTextures = true;
|
||||||
|
|
Loading…
Reference in a new issue