Fix portal capture on broken amd drivers: fallback to opengl copy instead of vaapi on known buggy mesa version

This commit is contained in:
dec05eba
2024-11-21 00:25:56 +01:00
parent 68c9781f44
commit 02673c4644
7 changed files with 46 additions and 0 deletions

View File

@@ -13,6 +13,11 @@ typedef struct {
gsr_gpu_vendor vendor;
int gpu_version; /* 0 if unknown */
bool is_steam_deck;
/* Only currently set for Mesa. 0 if unknown format */
int driver_major;
int driver_minor;
int driver_patch;
} gsr_gpu_info;
typedef enum {