fix: 不再要求功能级别11.1

This commit is contained in:
Xu Liu 2021-09-30 20:29:44 +08:00
commit 22c32b3580
12 changed files with 27 additions and 24 deletions

View file

@ -92,7 +92,7 @@ BOOL MagCallbackFrameSource::_ImageScalingCallback(
return FALSE;
}
ComPtr<ID3D11DeviceContext3> d3dDC = App::GetInstance().GetRenderer().GetD3DDC();
ComPtr<ID3D11DeviceContext> d3dDC = App::GetInstance().GetRenderer().GetD3DDC();
ComPtr<ID3D11Texture2D> output = App::GetInstance().GetFrameSource().GetOutput();
D3D11_MAPPED_SUBRESOURCE ms{};