kakashidinho / metalangle

MetalANGLE: OpenGL ES to Metal API translation layer
Other
462 stars 65 forks source link

Provide fallback to OpenGLES if Metal is not supported. #67

Closed Berstanio closed 3 years ago

Berstanio commented 3 years ago

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.