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
@ -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…
x
Reference in New Issue
Block a user