mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-17 17:05:24 +00:00
Thread safety updates for D3D
This commit is contained in:
@@ -322,8 +322,7 @@ public:
|
||||
void present()
|
||||
{
|
||||
OGLContext::Window& w = m_3dCtx.m_ctxOgl.m_windows[m_parentWindow];
|
||||
if (!SwapBuffers(w.m_deviceContext))
|
||||
Log.report(LogVisor::FatalError, "SwapBuffers err");
|
||||
SwapBuffers(w.m_deviceContext);
|
||||
}
|
||||
|
||||
IGraphicsCommandQueue* getCommandQueue()
|
||||
|
||||
Reference in New Issue
Block a user