diff --git a/project/ToolkitBuild.xml b/project/ToolkitBuild.xml
index 7f806b0cb..157b58f21 100644
--- a/project/ToolkitBuild.xml
+++ b/project/ToolkitBuild.xml
@@ -270,6 +270,8 @@
+
+
diff --git a/project/toolkit/sdl/configs/mac/SDL_config.h b/project/toolkit/sdl/configs/mac/SDL_config.h
index 3fc1cfc7e..17ae45348 100644
--- a/project/toolkit/sdl/configs/mac/SDL_config.h
+++ b/project/toolkit/sdl/configs/mac/SDL_config.h
@@ -208,9 +208,15 @@
#ifndef SDL_VIDEO_OPENGL_ES2
#define SDL_VIDEO_OPENGL_ES2 1
#endif
-#ifndef SDL_VIDEO_OPENGL_EGL
-#define SDL_VIDEO_OPENGL_EGL 0
+
+#ifdef SDL_VIDEO_OPENGL_EGL
+#undef SDL_VIDEO_OPENGL_EGL
#endif
+
+//#ifndef SDL_VIDEO_OPENGL_EGL
+//#define SDL_VIDEO_OPENGL_EGL 0
+//#endif
+
#ifndef SDL_VIDEO_OPENGL_CGL
#define SDL_VIDEO_OPENGL_CGL 1
#endif
diff --git a/project/toolkit/sdl/files.xml b/project/toolkit/sdl/files.xml
index c2a95e747..c7ba1f404 100644
--- a/project/toolkit/sdl/files.xml
+++ b/project/toolkit/sdl/files.xml
@@ -182,6 +182,8 @@
+
+
@@ -313,7 +315,7 @@
-
+
@@ -543,8 +545,9 @@
-
+
+
@@ -556,7 +559,6 @@
-