mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-02 11:23:41 +01:00
15 lines
388 B
C
15 lines
388 B
C
#include "codec.h"
|
|
|
|
const char* ffDetectCodec(FFCodecOptions* options, FFlist* result /*list of FFCodecResult*/) {
|
|
if (options->useVulkan) {
|
|
#ifdef FF_HAVE_VULKAN
|
|
return ffDetectCodecVulkan(options, result);
|
|
#else
|
|
FF_UNUSED(options, result);
|
|
return "Fastfetch was built without Vulkan support";
|
|
#endif
|
|
}
|
|
|
|
return ffDetectCodecNative(options, result);
|
|
}
|