From 2a93e2ed559df398b29a00118b1ba6ce6f40cb95 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 19 Dec 2017 13:40:41 +1100 Subject: [PATCH] [host] removed comments from prior testing --- host/Capture/DXGI.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index c7af6625..5a34afaa 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -448,8 +448,6 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame) frame.stride = m_mapping.RowPitch / 4; unsigned int size = m_height * m_mapping.RowPitch; - // wait for the copy to complete before trying to perform the copy -// while(S_FALSE == m_deviceContext->GetData(m_eventQuery, NULL, 0, 0)) {} memcpySSE(frame.buffer, m_mapping.pData, size < frame.bufferSize ? size : frame.bufferSize); return GRAB_STATUS_OK;