| 651 | } |
| 652 | |
| 653 | void CDX9VideoProcessor::ResizeInternal() |
| 654 | { |
| 655 | HRESULT hr = m_pD3DDevEx->ResetEx(&m_d3dpp, nullptr); |
| 656 | if (FAILED(hr)) { |
| 657 | DLog(L"CDX9VideoProcessor::ResizeInternal() : ResetEx() failed with error {}", HR2Str(hr)); |
| 658 | |
| 659 | InitInternal(true, nullptr); |
| 660 | } |
| 661 | } |
| 662 | |
| 663 | HRESULT CDX9VideoProcessor::Init(const HWND hwnd, const bool displayHdrChanged, bool* pChangeDevice/* = nullptr*/) |
| 664 | { |