[vlc-commits] direct3d11: code cleaning

Steve Lhomme git at videolan.org
Sun Dec 17 23:18:09 CET 2017


vlc/vlc-3.0 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Dec 13 10:49:40 2017 +0100| [0cc56ea9e8c2f66d241d80745cf24baaaf1fe716] | committer: Jean-Baptiste Kempf

direct3d11: code cleaning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 415cfca29471470e83d1329a6a7b694f102cd297)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_output/win32/direct3d11.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 34827d7442..8985d3b6f1 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -2306,8 +2306,6 @@ static void SetupQuadFlat(d3d_vertex_t *dst_data, const RECT *output,
 {
     unsigned int dst_x = output->left;
     unsigned int dst_y = output->top;
-    unsigned int dst_width = RECTWidth(*output);
-    unsigned int dst_height = RECTHeight(*output);
     unsigned int src_width = quad->i_width;
     unsigned int src_height = quad->i_height;
     LONG MidY = output->top + output->bottom; // /2



More information about the vlc-commits mailing list