From b1202e35f9263fbde39f41f0bb1c95a8a0ec3b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=BA=A2=E5=B8=BD?= <761716178@qq.com> Date: Sun, 3 Dec 2023 23:49:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Program?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ConsoleApp1/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConsoleApp1/Program.cs b/ConsoleApp1/Program.cs index 8fd0450..f27c4c9 100644 --- a/ConsoleApp1/Program.cs +++ b/ConsoleApp1/Program.cs @@ -40,9 +40,9 @@ namespace ConsoleApp1 #else (OperatingSystemType.Windows, new WindowsPlatform(false), new SkiaDrawingFactory { - //#if NETCOREAPP3_1_OR_GREATER +#if NETCOREAPP3_1_OR_GREATER UseGPU = true - //#endif +#endif }) , (OperatingSystemType.OSX, new CPF.Mac.MacPlatform(), new SkiaDrawingFactory { UseGPU = false }) , (OperatingSystemType.Linux, new CPF.Linux.LinuxPlatform(), new SkiaDrawingFactory { UseGPU = true })