Fix use of constant only available on macOS 12+ (#2689)
This commit is contained in:
parent
949142a75f
commit
ffc66a4c3c
@ -536,7 +536,7 @@ namespace bgfx { namespace mtl
|
||||
|
||||
if (0 != registryId)
|
||||
{
|
||||
entry = IOServiceGetMatchingService(kIOMainPortDefault, IORegistryEntryIDMatching(registryId) );
|
||||
entry = IOServiceGetMatchingService(NULL, IORegistryEntryIDMatching(registryId) );
|
||||
|
||||
if (0 != entry)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user