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:
@@ -1042,6 +1042,8 @@ namespace bgfx { namespace d3d12
|
||||
m_gpuTimer.init();
|
||||
m_occlusionQuery.init();
|
||||
}
|
||||
|
||||
g_internalData.context = m_device;
|
||||
return true;
|
||||
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user