diff --git a/src/renderer_mtl.mm b/src/renderer_mtl.mm index 4f28393b2..9f7ad54ab 100644 --- a/src/renderer_mtl.mm +++ b/src/renderer_mtl.mm @@ -536,7 +536,7 @@ namespace bgfx { namespace mtl if (0 != registryId) { - entry = IOServiceGetMatchingService(kIOMainPortDefault, IORegistryEntryIDMatching(registryId) ); + entry = IOServiceGetMatchingService(NULL, IORegistryEntryIDMatching(registryId) ); if (0 != entry) {