diff --git a/pcsx2/gui/FrameForGS.cpp b/pcsx2/gui/FrameForGS.cpp index 7ef9e075bc..8556afbcb6 100644 --- a/pcsx2/gui/FrameForGS.cpp +++ b/pcsx2/gui/FrameForGS.cpp @@ -363,7 +363,11 @@ void GSPanel::OnResize(wxEvent& event) return; const wxSize gs_vp_size(GetClientSize()); +#ifdef _WIN32 + const float scale = GetDpiScaleForWxWindow(this); +#else const float scale = GetContentScaleFactor(); +#endif int width = gs_vp_size.GetWidth(); int height = gs_vp_size.GetHeight();