[vlc-commits] d3d11_player: fix warning

Steve Lhomme git at videolan.org
Thu May 7 08:33:24 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May  5 17:01:44 2020 +0200| [73f547c6179455fccbb4d36980c812c786fc992d] | committer: Steve Lhomme

d3d11_player: fix warning

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

 doc/libvlc/d3d11_player.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/libvlc/d3d11_player.cpp b/doc/libvlc/d3d11_player.cpp
index 25a1de5bce..16321d850d 100644
--- a/doc/libvlc/d3d11_player.cpp
+++ b/doc/libvlc/d3d11_player.cpp
@@ -584,7 +584,7 @@ int WINAPI WinMain(HINSTANCE hInstance,
     RECT wr = {0, 0, SCREEN_WIDTH, SCREEN_HEIGHT};
     AdjustWindowRect(&wr, WS_OVERLAPPEDWINDOW, FALSE);
 
-    Context.hWnd = CreateWindowEx(NULL,
+    Context.hWnd = CreateWindowEx(0,
                           "WindowClass",
                           "libvlc Demo app",
                           WS_OVERLAPPEDWINDOW,



More information about the vlc-commits mailing list