[vlc-commits] hw:d3d11:d3d11_surface: allocate a single slice texture
Steve Lhomme
git at videolan.org
Tue Feb 20 16:07:28 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Nov 30 14:24:04 2017 +0100| [e10dffc42dbc8b12a5fb8715cc4461f65b6496fc] | committer: Steve Lhomme
hw:d3d11:d3d11_surface: allocate a single slice texture
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e10dffc42dbc8b12a5fb8715cc4461f65b6496fc
---
modules/hw/d3d11/d3d11_surface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/hw/d3d11/d3d11_surface.c b/modules/hw/d3d11/d3d11_surface.c
index bdec1a085d..8eaae8b5de 100644
--- a/modules/hw/d3d11/d3d11_surface.c
+++ b/modules/hw/d3d11/d3d11_surface.c
@@ -198,7 +198,7 @@ static int assert_staging(filter_t *p_filter, picture_sys_t *p_sys)
ID3D11Texture2D_GetDesc( p_sys->texture[KNOWN_DXGI_INDEX], &texDesc);
texDesc.MipLevels = 1;
- //texDesc.SampleDesc.Count = 1;
+ texDesc.SampleDesc.Count = 1;
texDesc.MiscFlags = 0;
texDesc.ArraySize = 1;
texDesc.Usage = D3D11_USAGE_STAGING;
@@ -744,7 +744,7 @@ int D3D11OpenCPUConverter( vlc_object_t *obj )
picture_Setup(p_dst, &p_dst->format);
texDesc.MipLevels = 1;
- //texDesc.SampleDesc.Count = 1;
+ texDesc.SampleDesc.Count = 1;
texDesc.MiscFlags = 0;
texDesc.ArraySize = 1;
texDesc.Usage = D3D11_USAGE_STAGING;
More information about the vlc-commits
mailing list