Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 0d601fe

Browse files
committed
Remove usages of C# 7.1 features
1 parent a78d58c commit 0d601fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Captura.Windows/DesktopDuplication/DuplCapture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void Init()
7373
}
7474
}
7575

76-
public bool Get(Texture2D Texture, DxMousePointer DxMousePointer, Point TargetPosition = default)
76+
public bool Get(Texture2D Texture, DxMousePointer DxMousePointer, Point TargetPosition = default(Point))
7777
{
7878
lock (_syncLock)
7979
{

src/Captura.Windows/DesktopDuplication/MousePointer/DXMousePointer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void Update(Texture2D DesktopTexture, OutputDuplicateFrameInformation Fra
7777
_pointerShape?.Update(DesktopTexture, _pointerPosition);
7878
}
7979

80-
public void Draw(Direct2DEditor Editor, Point Location = default)
80+
public void Draw(Direct2DEditor Editor, Point Location = default(Point))
8181
{
8282
if (!_pointerPosition.Visible)
8383
return;

0 commit comments

Comments
 (0)