From b94918421070c33d9d864c5cacfed1031cb4cfbb Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Wed, 5 Feb 2025 14:19:42 +0000
Subject: [PATCH] SDL_config_unix.h: Assume that Linux has EGL
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
include/SDL2/SDL_config_unix.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/SDL2/SDL_config_unix.h b/include/SDL2/SDL_config_unix.h
index 9c34bc9..27e99df 100644
--- a/include/SDL2/SDL_config_unix.h
+++ b/include/SDL2/SDL_config_unix.h
@@ -210,6 +210,9 @@
#define SDL_VIDEO_OPENGL 1
#define SDL_VIDEO_OPENGL_ES 1
#define SDL_VIDEO_OPENGL_GLX 1
+#if defined(__LINUX__)
+#define SDL_VIDEO_OPENGL_EGL 1
+#endif
/* Enable Vulkan support */
#if defined(__LINUX__)