egl: explicitly destroy the context
commitf5a766e3699f19f3a37f6331e62bdc5de0e7fd04
authorThomas Guillem <thomas@gllm.fr>
Fri, 20 Jul 2018 08:29:26 +0000 (20 10:29 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 20 Jul 2018 08:33:54 +0000 (20 10:33 +0200)
tree42341df3e7a4ad0c9a2531cb67d517d689f28b36
parentf4753307f4dff1338aee6e0df9e4f36543a17770
egl: explicitly destroy the context

The eglTerminate() documentation state that any contexts and surfaces
associated with the display are marked for deletion.

But this doesn't seem to be the case on Android with a GLES2 context.
modules/video_output/opengl/egl.c