This pr adds a fallback to OpenGLES if Metal is not supported when MacOS runs in a vm.
One comment hinted that in a VMware vm MTLCreateSystemDefaultDevice() returns a object, but Metal still isn't supported. But this comment is ~2 years old, so maybe this isn't a issue any more.
However I will test it if I find the time (and disk space) to setup a second MacOS vm within VMware.
Also I doesn't have a real mac so I can't check whether MetalANGLE maybe wrongly fallback to OpenGLES although Metal would be available.
This pr adds a fallback to OpenGLES if Metal is not supported when MacOS runs in a vm.
One comment hinted that in a VMware vm MTLCreateSystemDefaultDevice() returns a object, but Metal still isn't supported. But this comment is ~2 years old, so maybe this isn't a issue any more. However I will test it if I find the time (and disk space) to setup a second MacOS vm within VMware.
Also I doesn't have a real mac so I can't check whether MetalANGLE maybe wrongly fallback to OpenGLES although Metal would be available.