1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-25 06:05:45 +00:00

restore debug.log output on non-win32 platforms

This commit is contained in:
fgenesis 2011-11-20 16:27:55 +01:00
parent 7d2b3965a9
commit 385d05f905

View file

@ -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)
: ActionMapper(), StateManager(), appName(appName)
{
_logOut.open((debugLogPath + "debug.log").c_str());
sound = NULL;
screenCapScale = Vector(1,1,1);
timeUpdateType = TIMEUPDATE_DYNAMIC;
@ -898,7 +897,8 @@ Core::Core(const std::string &filesystem, int numRenderLayers, const std::string
#else
debugLogPath = "";
#endif
_logOut.open((debugLogPath + "debug.log").c_str());
debugLogActive = true;
debugLogTextures = true;