mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Code (Vulkan): fixes compiling
This commit is contained in:
@@ -5,7 +5,7 @@ const char* ffDetectCodec(FFCodecOptions* options, FFlist* result /*list of FFCo
|
||||
#ifdef FF_HAVE_VULKAN
|
||||
return ffDetectCodecVulkan(options, result);
|
||||
#else
|
||||
FF_UNUSED(result);
|
||||
FF_UNUSED(options, result);
|
||||
return "Fastfetch was built without Vulkan support";
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -260,8 +260,8 @@ const char* ffDetectCodecVulkan(FFCodecOptions* options, FFlist* result /*list o
|
||||
|
||||
#else
|
||||
|
||||
const char* ffDetectCodecVulkan(FFlist* result) {
|
||||
FF_UNUSED(result);
|
||||
const char* ffDetectCodecVulkan(FFCodecOptions* options, FFlist* result) {
|
||||
FF_UNUSED(options, result);
|
||||
return "Vulkan video queue extensions are not supported by this Vulkan implementation";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user