This commit is contained in:
Branimir Karadžić 2016-01-04 22:31:17 -08:00
parent 6d3a082a83
commit 053dd8c524

View file

@ -201,7 +201,7 @@ static void* m_device = NULL;
bgfx::PlatformData pd; bgfx::PlatformData pd;
pd.ndt = NULL; pd.ndt = NULL;
pd.nwh = self.layer; pd.nwh = self.layer;
pd.context = m_device; pd.context = m_device;
pd.backBuffer = NULL; pd.backBuffer = NULL;
pd.backBufferDS = NULL; pd.backBufferDS = NULL;
bgfx::setPlatformData(pd); bgfx::setPlatformData(pd);