Browse Source

Fixed issue #1210.

Branimir Karadžić 8 năm trước cách đây
mục cha
commit
868417bbc7
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      examples/common/entry/entry_windows.cpp

+ 4 - 0
examples/common/entry/entry_windows.cpp

@@ -498,6 +498,8 @@ namespace entry
 			mte.m_argc = _argc;
 			mte.m_argv = _argv;
 
+			bgfx::renderFrame();
+
 			bx::Thread thread;
 			thread.init(mte.threadFunc, &mte);
 			m_init = true;
@@ -509,6 +511,8 @@ namespace entry
 
 			while (!m_exit)
 			{
+				bgfx::renderFrame();
+
 				s_xinput.update(m_eventQueue);
 				WaitForInputIdle(GetCurrentProcess(), 16);