mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Fix D3D11 copy path
This commit is contained in:
1 parent
b41c4022ea
commit
a58d3cfe39
1 file changed
+3
@@ -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