From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12

---
 source/src/video/emscripten/SDL_emscriptenopengles.c |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/source/src/video/emscripten/SDL_emscriptenopengles.c b/source/src/video/emscripten/SDL_emscriptenopengles.c
index 7d8c005..f806bbe 100644
--- a/source/src/video/emscripten/SDL_emscriptenopengles.c
+++ b/source/src/video/emscripten/SDL_emscriptenopengles.c
@@ -1,6 +1,6 @@
 /*
   Simple DirectMedia Layer
-  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+  Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
 
   This software is provided 'as-is', without any express or implied
   warranty.  In no event will the authors be held liable for any damages
@@ -79,19 +79,6 @@
     }
     
     return 0;
-}
-
-void
-Emscripten_GLES_DeleteContext(_THIS, SDL_GLContext context)
-{
-    /*
-    WebGL contexts can't actually be deleted, so we need to reset it.
-    ES2 renderer resets state on init anyway, clearing the canvas should be enough
-    */
-
-    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
-
-    SDL_EGL_DeleteContext(_this, context);
 }
 
 SDL_EGL_CreateContext_impl(Emscripten)

--
Gitblit v1.9.3