mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
GPU: detect supported platform graphic API version
This commit is contained in:
@@ -181,6 +181,7 @@ static const char* detectVulkan(FFVulkanResult* result)
|
||||
|
||||
FFGPUResult* gpu = ffListAdd(&result->gpus);
|
||||
|
||||
ffStrbufInitF(&gpu->platformApi, "Vulkan %u.%u.%u", deviceAPIVersion.major, deviceAPIVersion.minor, deviceAPIVersion.patch);
|
||||
gpu->deviceId = physicalDeviceProperties.properties.deviceID;
|
||||
|
||||
ffStrbufInitS(&gpu->name, physicalDeviceProperties.properties.deviceName);
|
||||
|
||||
Reference in New Issue
Block a user