Fix D3D11 copy path

This commit is contained in:
Cameron Gutman
2026-01-10 19:11:25 -06:00
parent b41c4022ea
commit a58d3cfe39

View File

@@ -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;