Skip to content

asahi: Fix warning building for macOS 12.0

Alyssa Rosenzweig requested to merge asahi/mesa:asahi/warn-fix into main

Unnecessary rename that breaks forward compatibility... but Apple says this is just NULL. Do the simpler thing.

../src/asahi/lib/agx_device.c:290:35: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] IOServiceGetMatchingService(kIOMasterPortDefault, matching); ^~~~~~~~~~~~~~~~~~~~ kIOMainPortDefault

Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io

Merge request reports