MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / ReleaseSwapChain

Method ReleaseSwapChain

Source/DX11VideoProcessor.cpp:767–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767void CDX11VideoProcessor::ReleaseSwapChain()
768{
769 if (m_pDXGISwapChain1) {
770 m_pDXGISwapChain1->SetFullscreenState(FALSE, nullptr);
771 }
772 m_pDXGIOutput.Release();
773 m_pDXGISwapChain4.Release();
774 m_pDXGISwapChain1.Release();
775
776 m_MaxDisplayLuminance = 0;
777}
778
779UINT CDX11VideoProcessor::GetPostScaleSteps()
780{

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected