From a0664fb467ecf9e0293aa1c8cf3fd690adef726a Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Wed, 5 Feb 2025 14:19:22 +0000
Subject: [PATCH] SDL_config_unix.h: Assume that Unix platforms have GLX
This is a de facto standard on Unix, and we're already assuming that
such platforms have X11.
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
include/SDL2/SDL_config_unix.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/SDL2/SDL_config_unix.h b/include/SDL2/SDL_config_unix.h
index 720bbb2..9c34bc9 100644
--- a/include/SDL2/SDL_config_unix.h
+++ b/include/SDL2/SDL_config_unix.h
@@ -209,6 +209,7 @@
/* Enable OpenGL support */
#define SDL_VIDEO_OPENGL 1
#define SDL_VIDEO_OPENGL_ES 1
+#define SDL_VIDEO_OPENGL_GLX 1
/* Enable Vulkan support */
#if defined(__LINUX__)