From 51a911cfa108d91d6cd586f9392ee632fafc70e3 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 18 Aug 2023 18:13:49 +0100 Subject: [PATCH] egl: bump extension string length We've actually been over the 1000 char limit for a while, but we didn't have a driver in CI that enabled enough extensions to notice it. If all currently supported extensions are enabled, we need 1441 chars. Let's bump the string to 2048 to have a little bit of margin. Signed-off-by: Eric Engestrom Part-of: --- src/egl/main/egldefines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/main/egldefines.h b/src/egl/main/egldefines.h index d8f7dfa2dc9..7c6ad49c1d0 100644 --- a/src/egl/main/egldefines.h +++ b/src/egl/main/egldefines.h @@ -36,7 +36,7 @@ extern "C" { #endif -#define _EGL_MAX_EXTENSIONS_LEN 1000 +#define _EGL_MAX_EXTENSIONS_LEN 2048 /* Hardcoded, conservative default for EGL_LARGEST_PBUFFER, * this is used to implement EGL_LARGEST_PBUFFER.