mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-06-28 13:34:09 +08:00
修改Program
This commit is contained in:
parent
c2c6d5a602
commit
b1202e35f9
@ -40,9 +40,9 @@ namespace ConsoleApp1
|
|||||||
#else
|
#else
|
||||||
(OperatingSystemType.Windows, new WindowsPlatform(false), new SkiaDrawingFactory
|
(OperatingSystemType.Windows, new WindowsPlatform(false), new SkiaDrawingFactory
|
||||||
{
|
{
|
||||||
//#if NETCOREAPP3_1_OR_GREATER
|
#if NETCOREAPP3_1_OR_GREATER
|
||||||
UseGPU = true
|
UseGPU = true
|
||||||
//#endif
|
#endif
|
||||||
})
|
})
|
||||||
, (OperatingSystemType.OSX, new CPF.Mac.MacPlatform(), new SkiaDrawingFactory { UseGPU = false })
|
, (OperatingSystemType.OSX, new CPF.Mac.MacPlatform(), new SkiaDrawingFactory { UseGPU = false })
|
||||||
, (OperatingSystemType.Linux, new CPF.Linux.LinuxPlatform(), new SkiaDrawingFactory { UseGPU = true })
|
, (OperatingSystemType.Linux, new CPF.Linux.LinuxPlatform(), new SkiaDrawingFactory { UseGPU = true })
|
||||||
|
Loading…
Reference in New Issue
Block a user