mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Update gpu_apple.c
This commit is contained in:
@@ -27,7 +27,7 @@ void ffDetectGPUImpl(FFlist* gpus, const FFinstance* instance)
|
||||
FF_LIBRARY_LOAD_SYMBOL(iokit, CFDataGetTypeID, )
|
||||
FF_LIBRARY_LOAD_SYMBOL(iokit, IOObjectRelease, )
|
||||
|
||||
CFMutableDictionaryRef matchDict = ffIOServiceMatching(kIOAcceleratorClassName);
|
||||
CFMutableDictionaryRef matchDict = ffIOServiceMatching("IOPCIDevice");
|
||||
io_iterator_t iterator;
|
||||
if(ffIOServiceGetMatchingServices(0, matchDict, &iterator) != kIOReturnSuccess)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user