修改Program

This commit is contained in:
小红帽 2023-12-03 23:49:15 +08:00
parent c2c6d5a602
commit b1202e35f9

View File

@ -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 })