[vlc-commits] direct3d11: no need to restrict the vertex position
Steve Lhomme
git at videolan.org
Sat May 7 20:25:23 CEST 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu May 5 11:54:18 2016 +0200| [5a00dc8aa5d74a3db4be7f96d31353fdbd7fcf68] | committer: Jean-Baptiste Kempf
direct3d11: no need to restrict the vertex position
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a00dc8aa5d74a3db4be7f96d31353fdbd7fcf68
---
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;\
More information about the vlc-commits
mailing list