mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 05:23:00 +01:00
Added ability to expose internal data (D3D device/GL context).
This commit is contained in:
@@ -211,6 +211,8 @@ namespace bgfx { namespace gl
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glXSwapBuffers( (::Display*)g_platformData.ndt, (::Window)g_platformData.nwh);
|
||||
|
||||
g_internalData.context = m_context;
|
||||
}
|
||||
|
||||
void GlContext::destroy()
|
||||
|
||||
Reference in New Issue
Block a user