[host] dxgi: explicitly flush the pipeline to reduce latency
This commit is contained in:
1 parent
2206752b66
commit
e225f66cee
1 file changed
+1
@@ -1278,6 +1278,7 @@ static CaptureResult dxgi_capture(void)
|
||||
*this->deviceContext, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP);
|
||||
|
||||
ID3D11DeviceContext_Draw(*this->deviceContext, 4, 0);
|
||||
ID3D11DeviceContext_Flush(*this->deviceContext);
|
||||
|
||||
if (!this->backend->copyFrame(tex, *tex->hdrTex))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user