From a3b4058bf7266f1291cf38c30425d9948250fcd9 Mon Sep 17 00:00:00 2001 From: Branimir Karadžić Date: Sat, 29 Oct 2016 09:11:50 +0200 Subject: Updated BGFX and BX and recompiled shaders (nw) --- 3rdparty/bgfx/examples/common/entry/entry_windows.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '3rdparty/bgfx/examples/common/entry/entry_windows.cpp') diff --git a/3rdparty/bgfx/examples/common/entry/entry_windows.cpp b/3rdparty/bgfx/examples/common/entry/entry_windows.cpp index 29f8c65e881..401e971e6d4 100644 --- a/3rdparty/bgfx/examples/common/entry/entry_windows.cpp +++ b/3rdparty/bgfx/examples/common/entry/entry_windows.cpp @@ -34,11 +34,8 @@ namespace entry inline void winSetHwnd(::HWND _window) { bgfx::PlatformData pd; - pd.ndt = NULL; - pd.nwh = _window; - pd.context = NULL; - pd.backBuffer = NULL; - pd.backBufferDS = NULL; + memset(&pd, 0, sizeof(pd) ); + pd.nwh = _window; bgfx::setPlatformData(pd); } -- cgit v1.2.3-70-g09d2