Thread safety updates for D3D

This commit is contained in:
Jack Andersen
2015-12-14 09:19:29 -10:00
parent 7224d5fdf7
commit 916002f9da
3 changed files with 72 additions and 18 deletions

View File

@@ -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()