mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-13 06:50:54 +01:00
Update gpu_apple.c
This commit is contained in:
1 parent
883e0450b0
commit
0be1a41b5c
1 file changed
+1
-1
@@ -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