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