瀏覽代碼

windows/gles: do not unload EGL when context is destroyed

It's legitimate to have multiple contexts.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Marc-André Lureau 3 年之前
父節點
當前提交
93861e1de0
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/video/windows/SDL_windowsopengles.c

+ 0 - 1
src/video/windows/SDL_windowsopengles.c

@@ -97,7 +97,6 @@ WIN_GLES_CreateContext(_THIS, SDL_Window *window)
 int WIN_GLES_DeleteContext(_THIS, SDL_GLContext context)
 {
     SDL_EGL_DeleteContext(_this, context);
-    WIN_GLES_UnloadLibrary(_this);
     return 0;
 }