diff options
author | wm4 <wm4@nowhere> | 2016-05-05 13:38:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-05 13:46:18 +0200 |
commit | 605dd928d30445610544f919f5b577f4acb79114 (patch) | |
tree | bab2d201adb8bbcfc81c477c5039ce1a9e6e052b /video/out/opengl/context_wayland.c | |
parent | f56555b5144069d0a8ac81d407abfa0c6be30c2e (diff) | |
download | mpv-605dd928d30445610544f919f5b577f4acb79114.tar.bz2 mpv-605dd928d30445610544f919f5b577f4acb79114.tar.xz |
vo_opengl: angle: call eglTerminate()
I hope that this does what we expect it does: destroy the EGLDisplay
specific to our HDC. (Some implementations will terminate all EGL
contexts in the whole process.)
eglReleaseThread() merely calls eglMakeCurrent(0, 0, 0, 0), which is
not enough.
This commit also fixes the problem fixed with the previous commit,
but I think both changes are needed to make our API usage clean.
Diffstat (limited to 'video/out/opengl/context_wayland.c')
0 files changed, 0 insertions, 0 deletions