[vlc-commits] d3d11: remove double variable init

Steve Lhomme git at videolan.org
Tue Feb 20 16:07:27 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Nov  6 16:28:50 2017 +0100| [c106b432ad85f616652a1152e9ecaca2ae2b0209] | committer: Steve Lhomme

d3d11: remove double variable init

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c106b432ad85f616652a1152e9ecaca2ae2b0209
---

 modules/hw/d3d11/d3d11_deinterlace.c | 1 -
 modules/hw/d3d11/d3d11_filters.c     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/modules/hw/d3d11/d3d11_deinterlace.c b/modules/hw/d3d11/d3d11_deinterlace.c
index 95b901169f..662ac7a3fa 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -492,7 +492,6 @@ int D3D11OpenDeinterlace(vlc_object_t *obj)
     texDesc.Format = dstDesc.Format;
     texDesc.BindFlags = D3D11_BIND_RENDER_TARGET;
     texDesc.Usage = D3D11_USAGE_DEFAULT;
-    texDesc.CPUAccessFlags = 0;
     texDesc.ArraySize = 1;
     texDesc.Height = dstDesc.Height;
     texDesc.Width = dstDesc.Width;
diff --git a/modules/hw/d3d11/d3d11_filters.c b/modules/hw/d3d11/d3d11_filters.c
index 96786032a6..1b83f8f68f 100644
--- a/modules/hw/d3d11/d3d11_filters.c
+++ b/modules/hw/d3d11/d3d11_filters.c
@@ -508,7 +508,6 @@ static int D3D11OpenAdjust(vlc_object_t *obj)
     texDesc.Format = dstDesc.Format;
     texDesc.BindFlags = D3D11_BIND_RENDER_TARGET;
     texDesc.Usage = D3D11_USAGE_DEFAULT;
-    texDesc.CPUAccessFlags = 0;
     texDesc.ArraySize = 1;
     texDesc.Height = dstDesc.Height;
     texDesc.Width = dstDesc.Width;



More information about the vlc-commits mailing list