Skip to content

Commit

Permalink
Flush at EndScene to have work submitted to GPU early.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoeffinger committed Feb 2, 2019
1 parent 847db51 commit eef606e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions impl11/ddraw/Direct3DDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,8 @@ HRESULT Direct3DDevice::EndScene()

this->_deviceResources->inScene = false;

this->_deviceResources->_d3dDeviceContext->Flush();

return D3D_OK;
}

Expand Down

0 comments on commit eef606e

Please sign in to comment.