From 30e4a8b9859b0502b8d418c5e194d32983bc01b7 Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 14 Jan 2020 13:27:51 -0800 Subject: Mnor update to DeviceContextGLImpl::WaitForIdle --- Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index efffb8b6..f8a7cc76 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -1058,6 +1058,7 @@ void DeviceContextGLImpl::WaitForFence(IFence* pFence, Uint64 Value, bool FlushC void DeviceContextGLImpl::WaitForIdle() { VERIFY(!m_bIsDeferred, "Only immediate contexts can be idled"); + Flush(); glFinish(); } -- cgit v1.2.3