master ohmu/fastfetch-openbsd / src / detection / codec / codec.c
ohmu  ·  2026-10-15
 1#include "codec.h"
 2
 3const char* ffDetectCodec(FFCodecOptions* options, FFlist* result /*list of FFCodecResult*/) {
 4    if (options->useVulkan) {
 5#ifdef FF_HAVE_VULKAN
 6        return ffDetectCodecVulkan(options, result);
 7#else
 8        FF_UNUSED(options, result);
 9        return "Fastfetch was built without Vulkan support";
10#endif
11    }
12
13    return ffDetectCodecNative(options, result);
14}