From 804d1b66a192fe98b75309974d9f9f3316081195 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Sun, 7 May 2017 18:58:51 +0200 Subject: [PATCH] Always allow D2D for the moment. --- .../Avalonia.Direct2D1/Direct2DChecker.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/Windows/Avalonia.Direct2D1/Direct2DChecker.cs b/src/Windows/Avalonia.Direct2D1/Direct2DChecker.cs index e7e27493e5..e7fbf6b805 100644 --- a/src/Windows/Avalonia.Direct2D1/Direct2DChecker.cs +++ b/src/Windows/Avalonia.Direct2D1/Direct2DChecker.cs @@ -10,20 +10,6 @@ namespace Avalonia.Direct2D1 class Direct2DChecker : IModuleEnvironmentChecker { //Direct2D backend doesn't work on some machines anymore - public bool IsCompatible - { - get - { - try - { - Direct2D1Platform.InitializeDirect2D(); - return true; - } - catch - { - return false; - } - } - } + public bool IsCompatible => true; } }