mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-05-18 23:50:16 +00:00
Fix D3D11 copy path
This commit is contained in:
@@ -1668,6 +1668,9 @@ bool D3D11VARenderer::setupVideoTexture(AVHWFramesContext* framesContext)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We will only have one set of SRVs
|
||||||
|
m_VideoTextureResourceViews.resize(1);
|
||||||
|
|
||||||
// Create SRVs for the texture
|
// Create SRVs for the texture
|
||||||
D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc = {};
|
D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc = {};
|
||||||
srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D;
|
srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D;
|
||||||
|
|||||||
Reference in New Issue
Block a user