mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-04-04 23:39:26 +08:00
修改Program
This commit is contained in:
parent
c2c6d5a602
commit
b1202e35f9
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user