mirror of
https://github.com/lutris/lutris
synced 2024-11-02 11:48:38 +00:00
parent
ade6f90c66
commit
91f891e0e4
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ def preload_vulkan_gpu_names(use_dri_prime):
|
|||
|
||||
|
||||
# cache this to avoid calling vulkaninfo repeatedly, shouldn't change at runtime
|
||||
@lru_cache
|
||||
@lru_cache()
|
||||
def get_vulkan_gpu_name(icd_files, use_dri_prime):
|
||||
"""Runs vulkaninfo to determine the default and DRI_PRIME gpu if available,
|
||||
returns 'Not Found' if the GPU is not found or 'Unknown GPU' if vulkaninfo
|
||||
|
|
Loading…
Reference in a new issue