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:
Matthew Waters 2019-09-18 15:29:03 +10:00
parent 6693be476c
commit 2e8cdac059

View file

@ -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;
}