egl: drop unused _EGLDriver from {Create,Destroy}Context()

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6241>
This commit is contained in:
Eric Engestrom
2018-04-22 16:48:15 +02:00
committed by Marge Bot
parent 435ad51416
commit f27a32a792
5 changed files with 11 additions and 15 deletions

View File

@@ -304,7 +304,7 @@ _eglReleaseDisplayResources(_EGLDisplay *display)
list = list->Next;
_eglUnlinkContext(ctx);
drv->DestroyContext(drv, display, ctx);
drv->DestroyContext(display, ctx);
}
assert(!display->ResourceLists[_EGL_RESOURCE_CONTEXT]);