From f77c2372e00d52afd946d7b24b5b7f586c71cb83 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <icculus@icculus.org>
Date: Thu, 22 Aug 2013 13:00:05 -0400
Subject: [PATCH] Added SDL_VIDEO_OPENGL_ES2 to the SDL_config.h templates
 (Thanks, Kerim!).

---
 include/SDL_config.h.cmake | 1 +
 include/SDL_config.h.in    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake
index 500e72a2d..f9a9ab9af 100644
--- a/include/SDL_config.h.cmake
+++ b/include/SDL_config.h.cmake
@@ -288,6 +288,7 @@
 /* Enable OpenGL support */
 #cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
 #cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
+#cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@
 #cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@
 #cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
 #cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in
index 7bb12832f..551c8b3e7 100644
--- a/include/SDL_config.h.in
+++ b/include/SDL_config.h.in
@@ -289,6 +289,7 @@
 /* Enable OpenGL support */
 #undef SDL_VIDEO_OPENGL
 #undef SDL_VIDEO_OPENGL_ES
+#undef SDL_VIDEO_OPENGL_ES2
 #undef SDL_VIDEO_OPENGL_BGL
 #undef SDL_VIDEO_OPENGL_CGL
 #undef SDL_VIDEO_OPENGL_EGL