- allan.jiang
- Posts: 2
- Joined:
[osx]When run C# samples, get exception
visual studio for mac.
osx 10.14.6.
Each OSX C# samples fails, just when start directly.
osx 10.14.6.
Each OSX C# samples fails, just when start directly.
Re: [osx]When run C# samples, get exception
Hi allan.jiang,
Does your Mac support the Metal API? Could you try the following: In the App.cs file of the project you're trying to run, replace RenderContextMTL with RenderContextNSGL in the function CreateRenderContext. That will use the Open GL renderer insted of Metal.
Please, let us know if that works.
Does your Mac support the Metal API? Could you try the following: In the App.cs file of the project you're trying to run, replace RenderContextMTL with RenderContextNSGL in the function CreateRenderContext. That will use the Open GL renderer insted of Metal.
Please, let us know if that works.
- allan.jiang
- Posts: 2
- Joined:
Re: [osx]When run C# samples, get exception
It works!Hi allan.jiang,
Does your Mac support the Metal API? Could you try the following: In the App.cs file of the project you're trying to run, replace RenderContextMTL with RenderContextNSGL in the function CreateRenderContext. That will use the Open GL renderer insted of Metal.
Please, let us know if that works.
Thanks a lot.
Re: [osx]When run C# samples, get exception
Thanks for the feedback! Closing this
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 12 guests