From 0d601fe72a7a6cfea069af25891044d6422119af Mon Sep 17 00:00:00 2001 From: Mathew Sachin Date: Thu, 2 May 2019 00:51:31 +0530 Subject: [PATCH] Remove usages of C# 7.1 features --- src/Captura.Windows/DesktopDuplication/DuplCapture.cs | 2 +- .../DesktopDuplication/MousePointer/DXMousePointer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Captura.Windows/DesktopDuplication/DuplCapture.cs b/src/Captura.Windows/DesktopDuplication/DuplCapture.cs index 25cb43d9c..63b4e30de 100644 --- a/src/Captura.Windows/DesktopDuplication/DuplCapture.cs +++ b/src/Captura.Windows/DesktopDuplication/DuplCapture.cs @@ -73,7 +73,7 @@ public void Init() } } - public bool Get(Texture2D Texture, DxMousePointer DxMousePointer, Point TargetPosition = default) + public bool Get(Texture2D Texture, DxMousePointer DxMousePointer, Point TargetPosition = default(Point)) { lock (_syncLock) { diff --git a/src/Captura.Windows/DesktopDuplication/MousePointer/DXMousePointer.cs b/src/Captura.Windows/DesktopDuplication/MousePointer/DXMousePointer.cs index 5797eb3c1..8a1758132 100644 --- a/src/Captura.Windows/DesktopDuplication/MousePointer/DXMousePointer.cs +++ b/src/Captura.Windows/DesktopDuplication/MousePointer/DXMousePointer.cs @@ -77,7 +77,7 @@ public void Update(Texture2D DesktopTexture, OutputDuplicateFrameInformation Fra _pointerShape?.Update(DesktopTexture, _pointerPosition); } - public void Draw(Direct2DEditor Editor, Point Location = default) + public void Draw(Direct2DEditor Editor, Point Location = default(Point)) { if (!_pointerPosition.Visible) return;