From 3a6246eae7feef35e2078b6b76caa7d770e8ae50 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 12 Jan 2013 08:23:24 +0800 Subject: [PATCH] Add Disable G3D Log to ini , make default false --- Core/Config.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/Config.cpp b/Core/Config.cpp index 90640ad1f9..ba7a49e48c 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -66,6 +66,7 @@ void CConfig::Load(const char *iniFileName) graphics->Get("LinearFiltering", &bLinearFiltering, false); graphics->Get("SSAA", &SSAntiAlaising, 0); graphics->Get("VBO", &bUseVBO, true); + graphics->Get("DisableG3DLog", &bDisableG3DLog, false); IniFile::Section *sound = iniFile.GetOrCreateSection("Sound"); sound->Get("Enable", &bEnableSound, true); @@ -107,6 +108,7 @@ void CConfig::Save() graphics->Set("LinearFiltering", bLinearFiltering); graphics->Set("SSAA", SSAntiAlaising); graphics->Set("VBO", bUseVBO); + graphics->Set("DisableG3DLog", bDisableG3DLog); IniFile::Section *sound = iniFile.GetOrCreateSection("Sound"); sound->Set("Enable", bEnableSound);