From 59aee50b21280947f135571fd3172657912bfb5e Mon Sep 17 00:00:00 2001
From: sunshineinabox <[EMAIL REDACTED]>
Date: Tue, 24 Feb 2026 05:43:12 -0800
Subject: [PATCH] Define OpenGL ES2 support in SDL_config_unix.h
---
include/SDL2/SDL_config_unix.h.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/SDL2/SDL_config_unix.h.cmake b/include/SDL2/SDL_config_unix.h.cmake
index bf860282..fa315095 100644
--- a/include/SDL2/SDL_config_unix.h.cmake
+++ b/include/SDL2/SDL_config_unix.h.cmake
@@ -259,6 +259,7 @@
/* Enable OpenGL support */
#define SDL_VIDEO_OPENGL 1
#define SDL_VIDEO_OPENGL_ES 1
+#define SDL_VIDEO_OPENGL_ES2 1
#define SDL_VIDEO_OPENGL_GLX 1
#if defined(__LINUX__)
#define SDL_VIDEO_OPENGL_EGL 1