Added ability to expose internal data (D3D device/GL context).

This commit is contained in:
Branimir Karadžić
2016-01-13 21:18:59 -08:00
parent 066c4fb3e3
commit 72be9be87d
13 changed files with 62 additions and 15 deletions

View File

@@ -1465,6 +1465,8 @@ BX_PRAGMA_DIAGNOSTIC_POP();
}
BGFX_GPU_PROFILER_BIND(m_device, m_deviceCtx);
g_internalData.context = m_device;
return true;
error: