mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 07:44:06 +01:00
GPU: vulkan fallback
This commit is contained in:
+1
-1
@@ -101,6 +101,7 @@ typedef struct FFconfig
|
||||
FFstrbuf localIpFormat;
|
||||
|
||||
FFstrbuf libPCI;
|
||||
FFstrbuf libVulkan;
|
||||
FFstrbuf libX11;
|
||||
FFstrbuf libXrandr;
|
||||
FFstrbuf libWayland;
|
||||
@@ -274,7 +275,6 @@ typedef enum FFInitState
|
||||
#define FF_LIBRARY_SYMBOL(symbolName) \
|
||||
__typeof__(&symbolName) ff ## symbolName;
|
||||
|
||||
|
||||
#define FF_LIBRARY_LOAD(libraryObjectName, libraryName, userLibraryName, returnValue) \
|
||||
void* libraryObjectName = dlopen(userLibraryName.length == 0 ? libraryName : userLibraryName.chars, RTLD_LAZY); \
|
||||
if(dlerror() != NULL || libraryObjectName == NULL) \
|
||||
|
||||
Reference in New Issue
Block a user