mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
GPU: clean up GPU index detection code
This commit is contained in:
@@ -138,7 +138,7 @@ const char *ffDetectMthreadsGpuInfo(const FFGpuDriverCondition *cond, FFGpuDrive
|
||||
{
|
||||
unsigned int value;
|
||||
if (mtmlData.ffmtmlDeviceGetIndex(device, &value) == MTML_SUCCESS)
|
||||
*result.index = (uint8_t)value;
|
||||
*result.index = value;
|
||||
}
|
||||
|
||||
if (result.temp)
|
||||
|
||||
Reference in New Issue
Block a user