mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
OVR: Fixed uninitialized session.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user