mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 14:41:55 +00:00 
			
		
		
		
	[host] dxgi: explicitly flush the pipeline to reduce latency
This commit is contained in:
		@@ -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