mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
Changes for egl exit
This commit is contained in:
parent
f27e4fb35f
commit
8e495266e2
12
video.c
12
video.c
@ -1258,17 +1258,19 @@ static void EglExit(void) {
|
||||
EglCheck();
|
||||
eglSurface = NULL;
|
||||
}
|
||||
|
||||
if (eglContext) {
|
||||
eglDestroyContext(eglDisplay, eglContext);
|
||||
EglCheck();
|
||||
eglContext = NULL;
|
||||
}
|
||||
if (eglSharedContext) {
|
||||
eglDestroyContext(eglDisplay, eglSharedContext);
|
||||
EglCheck();
|
||||
eglSharedContext = NULL;
|
||||
}
|
||||
|
||||
if (eglContext) {
|
||||
eglDestroyContext(eglDisplay, eglContext);
|
||||
EglCheck();
|
||||
eglContext = NULL;
|
||||
}
|
||||
|
||||
eglTerminate(eglDisplay);
|
||||
eglDisplay = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user