From ded19a42fab0b911f58f181ea20997960ccf07e2 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 6 Oct 2013 17:08:11 +0300 Subject: [PATCH] Enable D2D by default --- Library/Rainmeter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 45b81e09..a176f2de 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -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);