mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 18:13:38 +01:00
f9695f4148
instead of the general message `Failed to detect vulkan`
20 lines
404 B
C
20 lines
404 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_vulkan
|
|
#define FF_INCLUDED_detection_vulkan
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFVulkanResult
|
|
{
|
|
FFstrbuf driver;
|
|
FFstrbuf apiVersion;
|
|
FFstrbuf conformanceVersion;
|
|
FFlist gpus; //List of FFGPUResult, see detection/gpu/gpu.h
|
|
const char* error;
|
|
} FFVulkanResult;
|
|
|
|
const FFVulkanResult* ffDetectVulkan(const FFinstance* instance);
|
|
|
|
#endif
|