Files
fastfetch/src/detection/codec/codec.c
T

15 lines
388 B
C
Raw Normal View History

2026-05-31 23:31:45 +08:00
#include "codec.h"
const char* ffDetectCodec(FFCodecOptions* options, FFlist* result /*list of FFCodecResult*/) {
if (options->useVulkan) {
#ifdef FF_HAVE_VULKAN
2026-06-01 18:33:14 +08:00
return ffDetectCodecVulkan(options, result);
2026-05-31 23:31:45 +08:00
#else
2026-06-01 20:16:30 +08:00
FF_UNUSED(options, result);
2026-05-31 23:31:45 +08:00
return "Fastfetch was built without Vulkan support";
#endif
}
return ffDetectCodecNative(options, result);
}