reverted opengles removal.

This commit is contained in:
Ozkan Sezer
2022-11-23 18:50:02 +03:00
parent 7767e0c5f9
commit 34231f5ba0
37 changed files with 1877 additions and 18 deletions

View File

@@ -176,7 +176,7 @@ SDL_HideHomeIndicatorHintChanged(void *userdata, const char *name, const char *o
/* Don't run the game loop while a messagebox is up */
if (!UIKit_ShowingMessageBox()) {
/* See the comment in the function definition. */
#if SDL_VIDEO_OPENGL_ES2
#if SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2
UIKit_GL_RestoreCurrentContext();
#endif