aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Fedchin <anightik@gmail.com>2018-02-25 16:30:05 +0300
committerAnton Fedchin <anightik@gmail.com>2018-02-25 16:30:05 +0300
commit200d331214ea8b74da4080e69c051df5d3cb77ed (patch)
tree213b7025ad41b15294bd7aa3b75cb0fc683bfea7
parent9b14ace5860e72228e02159bd7f418419d5a10d2 (diff)
[win10] force resolution change at start up
-rw-r--r--xbmc/windowing/win10/WinSystemWin10DX.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/windowing/win10/WinSystemWin10DX.cpp b/xbmc/windowing/win10/WinSystemWin10DX.cpp
index 99714b5dce..cf179e0269 100644
--- a/xbmc/windowing/win10/WinSystemWin10DX.cpp
+++ b/xbmc/windowing/win10/WinSystemWin10DX.cpp
@@ -74,6 +74,7 @@ bool CWinSystemWin10DX::CreateNewWindow(const std::string& name, bool fullScreen
{
CGenericTouchInputHandler::GetInstance().RegisterHandler(&CGenericTouchActionHandler::GetInstance());
CGenericTouchInputHandler::GetInstance().SetScreenDPI(DX::DisplayMetrics::Dpi100);
+ ChangeResolution(res, true);
}
return created;
}