Untested cross platform implementation

This commit is contained in:
stefnotch
2021-02-08 10:07:38 +01:00
parent 8f8f0266ce
commit 20d9c7181f
4 changed files with 9 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ WindowsWindow::WindowsWindow(const CreateWindowSettings& settings)
(HINSTANCE)Platform::Instance,
nullptr);
_dpi = DefaultDPI;
_dpi = Platform::GetDpi();
const HMODULE user32Dll = LoadLibraryW(L"user32.dll");
if (user32Dll)