mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Added ability to expose internal data (D3D device/GL context).
This commit is contained in:
@@ -1465,6 +1465,8 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
}
|
||||
|
||||
BGFX_GPU_PROFILER_BIND(m_device, m_deviceCtx);
|
||||
|
||||
g_internalData.context = m_device;
|
||||
return true;
|
||||
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user