shaders.log -> /tmp if !Win32.

This commit is contained in:
Pat Suwalski 2005-12-02 00:33:11 +00:00
parent 4753e16b58
commit e05d55f9e7

View file

@ -121,7 +121,11 @@ bool operator<(const ShaderProperties& p0, const ShaderProperties& p1)
ShaderManager::ShaderManager()
{
if (g_shaderLogFile == NULL)
#ifdef _WIN32
g_shaderLogFile = new ofstream("shaders.log");
#else
g_shaderLogFile = new ofstream("/tmp/celestia-shaders.log");
#endif
}