Fix D3D11 copy path
This commit is contained in:
parent
b41c4022ea
commit
a58d3cfe39
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue