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

@@ -131,6 +131,7 @@ typedef void(*__GLXextFuncPtr)(void);
#define GL_VENDOR 0x1F00
#define GL_RENDERER 0x1F01
#define GL_VERSION 0x1F02
#define GL_COMPILE_STATUS 0x8B81
#define GL_INFO_LOG_LENGTH 0x8B84