mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[host] removed comments from prior testing
This commit is contained in:
parent
8b25f8a344
commit
2a93e2ed55
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user