egl: Destroy display's resources upon termination.
eglTerminate should destroy the contexts and surfaces of the display. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
@@ -56,6 +56,10 @@ extern _EGLDisplay *
|
||||
_eglFindDisplay(NativeDisplayType nativeDisplay);
|
||||
|
||||
|
||||
extern void
|
||||
_eglReleaseDisplayResources(_EGLDriver *drv, EGLDisplay dpy);
|
||||
|
||||
|
||||
extern void
|
||||
_eglCleanupDisplay(_EGLDisplay *disp);
|
||||
|
||||
|
Reference in New Issue
Block a user