From 02673c46445a78324416e08ec61284012f7bcc8d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 21 Nov 2024 00:25:56 +0100 Subject: Fix portal capture on broken amd drivers: fallback to opengl copy instead of vaapi on known buggy mesa version --- include/defs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/defs.h') diff --git a/include/defs.h b/include/defs.h index 8fd2ddc..76e798e 100644 --- a/include/defs.h +++ b/include/defs.h @@ -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 { -- cgit v1.2.3