diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-10-22 17:00:59 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-10-22 17:00:59 +0800 |
commit | 6ec4bba0ea07658495f107e772689ecf841aeb11 (patch) | |
tree | 65ab9bf8a76dc8899dfc8017719c43737b8bcdb4 /src/egl | |
parent | 893bc24da36071bb716b857488c725dd8d45ebd4 (diff) |
egl: Unlink image before destroying it.
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/eglapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 753399f002..6baf700493 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -992,6 +992,7 @@ EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) if (!img) return _eglError(EGL_BAD_PARAMETER, __FUNCTION__); + _eglUnlinkImage(img); return drv->API.DestroyImageKHR(drv, disp, img); } |