Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 69be864

Browse files
committed
Pass parameter by ref (SharpGen now calculates size above max)
1 parent 06aff2a commit 69be864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/SharpDX.Direct2D1/WindowRenderTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public partial class WindowRenderTarget
3636
public WindowRenderTarget(Factory factory, RenderTargetProperties renderTargetProperties, HwndRenderTargetProperties hwndProperties)
3737
: base(IntPtr.Zero)
3838
{
39-
factory.CreateHwndRenderTarget(ref renderTargetProperties, hwndProperties, this);
39+
factory.CreateHwndRenderTarget(ref renderTargetProperties, ref hwndProperties, this);
4040
}
4141
}
4242
}

0 commit comments

Comments
 (0)