GPU (macOS): fix typo

This commit is contained in:
Carter Li
2023-06-25 23:40:20 +08:00
committed by 李通洲
parent 8fd30e814a
commit c18bcd316d
+1 -1
View File
@@ -68,7 +68,7 @@ const char* ffDetectGPUImpl(FFlist* gpus, const FFinstance* instance)
int vram; // Supported on Intel
if(!ffCfDictGetInt(properties, CFSTR("VRAM,totalMB"), &vram))
gpu->dedicated.total = (uint64_t) vram * 1024 * 1034;
gpu->dedicated.total = (uint64_t) vram * 1024 * 1024;
if(ffCfDictGetInt(properties, CFSTR("gpu-core-count"), &gpu->coreCount)) // For Apple
gpu->coreCount = FF_GPU_CORE_COUNT_UNSET;