[vlc-commits] d3d11_player: fix warning

Steve Lhomme git at videolan.org
Tue Feb 4 09:58:35 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Feb  3 13:16:34 2020 +0100| [f41cb863c7af532446dc035de0768482218a8dcc] | committer: Steve Lhomme

d3d11_player: fix warning

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

 doc/libvlc/d3d11_player.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/libvlc/d3d11_player.cpp b/doc/libvlc/d3d11_player.cpp
index e08781ac83..ee00e5163c 100644
--- a/doc/libvlc/d3d11_player.cpp
+++ b/doc/libvlc/d3d11_player.cpp
@@ -348,10 +348,10 @@ static void init_direct3d(struct render_context *ctx, HWND hWnd)
     hr = ctx->d3device->CreateInputLayout(ied, 2, VS->GetBufferPointer(), VS->GetBufferSize(), &ctx->pShadersInputLayout);
     SHADER_INPUT OurVertices[] =
     {
-        {BORDER_LEFT,  BORDER_BOTTOM, 0.0f,  0.0f, 1.0f},
-        {BORDER_RIGHT, BORDER_BOTTOM, 0.0f,  1.0f, 1.0f},
-        {BORDER_RIGHT, BORDER_TOP,    0.0f,  1.0f, 0.0f},
-        {BORDER_LEFT,  BORDER_TOP,    0.0f,  0.0f, 0.0f},
+        {{BORDER_LEFT,  BORDER_BOTTOM, 0.0f},  {0.0f, 1.0f}},
+        {{BORDER_RIGHT, BORDER_BOTTOM, 0.0f},  {1.0f, 1.0f}},
+        {{BORDER_RIGHT, BORDER_TOP,    0.0f},  {1.0f, 0.0f}},
+        {{BORDER_LEFT,  BORDER_TOP,    0.0f},  {0.0f, 0.0f}},
     };
 
     D3D11_BUFFER_DESC bd;



More information about the vlc-commits mailing list