diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 88eafe58..2cc020ee 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -318,7 +318,9 @@ namespace dxvk { uint32_t inputHeight = cursorTex->Desc()->Height; // Always use a hardware cursor when windowed. - bool hwCursor = m_presentParams.Windowed; + D3DPRESENT_PARAMETERS params; + m_implicitSwapchain->GetPresentParameters(¶ms); + bool hwCursor = params.Windowed; // Always use a hardware cursor w/h <= 32 px hwCursor |= inputWidth <= HardwareCursorWidth diff --git a/src/d3d9/d3d9_device.h b/src/d3d9/d3d9_device.h index 515cf5aa..feeae318 100644 --- a/src/d3d9/d3d9_device.h +++ b/src/d3d9/d3d9_device.h @@ -1200,7 +1200,6 @@ namespace dxvk { D3DDEVTYPE m_deviceType; HWND m_window; WORD m_behaviorFlags; - D3DPRESENT_PARAMETERS m_presentParams; D3D9Adapter* m_adapter; Rc m_dxvkDevice;