Browse Source

Removed redundant WaitForVBlank from d3d9 (#2998)

Co-authored-by: Ali Seyedof <[email protected]>
Ali Seyedof 3 năm trước cách đây
mục cha
commit
9eb0d2953e
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      src/renderer_d3d9.cpp

+ 0 - 5
src/renderer_d3d9.cpp

@@ -1587,11 +1587,6 @@ namespace bgfx { namespace d3d9
 		{
 			if (NULL != m_swapChain)
 			{
-				if (NULL != m_deviceEx)
-				{
-					DX_CHECK(m_deviceEx->WaitForVBlank(0) );
-				}
-
 				for (uint32_t ii = 0, num = m_numWindows; ii < num; ++ii)
 				{
 					HRESULT hr = S_OK;