[vlc-devel] [PATCH 1/5] direct3d11: no need to restrict the vertex position

Steve Lhomme robux4 at videolabs.io
Thu May 5 11:54:18 CEST 2016


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

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 6b813cf..4750f8e 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -175,7 +175,7 @@ static const char* globVertexShaderDefault = "\
   VS_OUTPUT VS( VS_INPUT In )\
   {\
     VS_OUTPUT Output;\
-    Output.Position = float4(In.Position.xy, 0.0f, 1.0f);\
+    Output.Position = In.Position;\
     Output.Texture = In.Texture;\
     Output.Opacity = In.Opacity;\
     return Output;\
-- 
2.7.0



More information about the vlc-devel mailing list