mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fix use of constant only available on macOS 12+ (#2689)
This commit is contained in:
@@ -536,7 +536,7 @@ namespace bgfx { namespace mtl
|
||||
|
||||
if (0 != registryId)
|
||||
{
|
||||
entry = IOServiceGetMatchingService(kIOMainPortDefault, IORegistryEntryIDMatching(registryId) );
|
||||
entry = IOServiceGetMatchingService(NULL, IORegistryEntryIDMatching(registryId) );
|
||||
|
||||
if (0 != entry)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user