GPU (WSL): fix uninitialized variables

This commit is contained in:
李通洲
2024-01-25 20:22:50 +08:00
committed by Carter Li
parent 77253a8d81
commit ef7e6d0a6a
+1
View File
@@ -68,6 +68,7 @@ const char* ffGPUDetectByDirectX(FF_MAYBE_UNUSED const FFGPUOptions* options, FF
gpu->coreCount = FF_GPU_CORE_COUNT_UNSET;
gpu->temperature = FF_GPU_TEMP_UNSET;
gpu->frequency = FF_GPU_FREQUENCY_UNSET;
ffStrbufInitStatic(&gpu->platformApi, "DXCore");
ffStrbufInit(&gpu->driver);
uint64_t value = 0;