diff --git a/src/detection/gpu/gpu_apple.m b/src/detection/gpu/gpu_apple.m index 9334c6840..943bd16c5 100644 --- a/src/detection/gpu/gpu_apple.m +++ b/src/detection/gpu/gpu_apple.m @@ -67,10 +67,10 @@ const char* ffGpuDetectMetal(FFlist* gpus) gpu->type = device.location == MTLDeviceLocationBuiltIn ? FF_GPU_TYPE_INTEGRATED : FF_GPU_TYPE_DISCRETE; gpu->index = (uint32_t) device.locationNumber; - #endif if (device.hasUnifiedMemory && device.recommendedMaxWorkingSetSize > 0) gpu->shared.total = device.recommendedMaxWorkingSetSize; + #endif } return NULL; }