Qt: Enable graphics logging by default (like Win.)

This commit is contained in:
Unknown W. Brackets 2013-10-19 14:47:00 -07:00
parent 3e18027b8d
commit 7c23863102

View File

@ -49,6 +49,7 @@ QtHost::QtHost(MainWindow *mainWindow_)
bool QtHost::InitGL(std::string *error_string)
{
return true;
}
void QtHost::ShutdownGL()
@ -248,7 +249,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
hideLog = false;
#endif
bool gfxLog = false;
// Parse command line
LogTypes::LOG_LEVELS logLevel = LogTypes::LINFO;
for (int i = 1; i < argc; i++) {
@ -258,9 +258,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
// Enable debug logging
logLevel = LogTypes::LDEBUG;
break;
case 'g':
gfxLog = true;
break;
case 'j':
g_Config.bJit = true;
g_Config.bSaveSettings = false;
@ -315,8 +312,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
if (fileToLog != NULL)
LogManager::GetInstance()->ChangeFileLog(fileToLog);
LogManager::GetInstance()->SetLogLevel(LogTypes::G3D, LogTypes::LERROR);
g_gameInfoCache.Init();
#if defined(Q_OS_LINUX) && !defined(ARM)