mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
egl: don't advertise a wrapped EGLContext as actually wrapped
It's not actually wrapped as we create a new EGLContext from the passed in EGLContext. As a result, the created EGLContext was never destroyed.
This commit is contained in:
parent
6693be476c
commit
2e8cdac059
1 changed files with 0 additions and 2 deletions
|
@ -1124,8 +1124,6 @@ egl_context_new_wrapped (EglDisplay * display, EGLContext gl_context)
|
|||
if (!success)
|
||||
return NULL;
|
||||
|
||||
if (args.context)
|
||||
args.context->base.is_wrapped = TRUE;
|
||||
return args.context;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue