diff --git a/obs-browser-page/obs-browser-page-main.cpp b/obs-browser-page/obs-browser-page-main.cpp index 6a3906c5d..1577ce4bf 100644 --- a/obs-browser-page/obs-browser-page-main.cpp +++ b/obs-browser-page/obs-browser-page-main.cpp @@ -79,8 +79,10 @@ int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int) std::thread shutdown_check; CefMainArgs mainArgs(nullptr); +#if !defined(_M_ARM64) if (!SetHighDPIv2Scaling()) CefEnableHighDPISupport(); +#endif CefRefPtr command_line = CefCommandLine::CreateCommandLine(); diff --git a/obs-browser-plugin.cpp b/obs-browser-plugin.cpp index 188958efe..a90b688d8 100644 --- a/obs-browser-plugin.cpp +++ b/obs-browser-plugin.cpp @@ -750,7 +750,9 @@ bool obs_module_load(void) #ifdef _WIN32 /* CefEnableHighDPISupport doesn't do anything on OS other than Windows. Would also crash macOS at this point as CEF is not directly linked */ +#if !defined(_M_ARM64) CefEnableHighDPISupport(); +#endif EnumAdapterCount(); #else #if defined(__APPLE__) && !defined(ENABLE_BROWSER_LEGACY)