This is what the error message says on macOS, but the documentation gives another solution: just import CoreGraphics, then MTLCreateSystemDefaultDevice() works again.
Topic:
Graphics & Games
SubTopic:
General
Tags: