Enable D2D by default

This commit is contained in:
Birunthan Mohanathas 2013-10-06 17:08:11 +03:00
parent 2fb733ef75
commit ded19a42fa

View File

@ -106,7 +106,7 @@ int RainmeterMain(LPWSTR cmdLine)
*/
Rainmeter::Rainmeter() :
m_TrayWindow(),
m_UseD2D(false),
m_UseD2D(true),
m_Debug(false),
m_DisableVersionCheck(false),
m_NewVersion(false),
@ -1255,7 +1255,7 @@ void Rainmeter::ReadGeneralSettings(const std::wstring& iniFile)
ConfigParser parser;
parser.Initialize(iniFile, nullptr, nullptr);
m_UseD2D = parser.ReadBool(L"Rainmeter", L"UseD2D", false);
m_UseD2D = parser.ReadBool(L"Rainmeter", L"UseD2D", true);
m_Debug = parser.ReadBool(L"Rainmeter", L"Debug", false);