|
|
@@ -4,6 +4,7 @@ using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
using Avalonia.Controls.Platform.Surfaces;
|
|
|
+using Avalonia.Platform;
|
|
|
using Avalonia.Win32.Interop;
|
|
|
using SharpDX;
|
|
|
using SharpDX.DXGI;
|
|
|
@@ -12,9 +13,9 @@ namespace Avalonia.Direct2D1
|
|
|
{
|
|
|
class HwndRenderTarget : SwapChainRenderTarget
|
|
|
{
|
|
|
- private readonly INativeWindowPlatformSurface _window;
|
|
|
+ private readonly IPlatformHandle _window;
|
|
|
|
|
|
- public HwndRenderTarget(INativeWindowPlatformSurface window)
|
|
|
+ public HwndRenderTarget(IPlatformHandle window)
|
|
|
{
|
|
|
_window = window;
|
|
|
}
|