From a04066ba41640e8173e50a1926a9e7ef74200e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 20 Jul 2017 20:25:48 -0700 Subject: [PATCH] Fixed issue #1210. --- examples/common/entry/entry_windows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/common/entry/entry_windows.cpp b/examples/common/entry/entry_windows.cpp index a4c6cdbe0..18e55531b 100644 --- a/examples/common/entry/entry_windows.cpp +++ b/examples/common/entry/entry_windows.cpp @@ -523,6 +523,8 @@ namespace entry } } + while (bgfx::RenderFrame::NoContext != bgfx::renderFrame() ) {}; + thread.shutdown(); DestroyWindow(m_hwnd[0]);