egl: _eglCloseDriver should be no-op.
Move drv->API.Terminate call to eglTerminate. Remove _eglReleaseDisplayResource as drivers are doing it. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
@@ -359,8 +359,6 @@ _eglOpenDriver(_EGLDisplay *dpy)
|
||||
EGLBoolean
|
||||
_eglCloseDriver(_EGLDriver *drv, _EGLDisplay *dpy)
|
||||
{
|
||||
_eglReleaseDisplayResources(drv, dpy);
|
||||
drv->API.Terminate(drv, dpy);
|
||||
return EGL_TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user