mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
egl: reset blob cache set/get functions on terminate
Fixes errors seen with eglSetBlobCacheFuncsANDROID on Android when
running dEQP that terminates and reinitializes a display.
Fixes: 6f5b57093b "egl: add support for EGL_ANDROID_blob_cache"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
2d79925034
commit
3e03a3fc53
1 changed files with 4 additions and 0 deletions
|
|
@ -676,6 +676,10 @@ eglTerminate(EGLDisplay dpy)
|
|||
/* do not reset disp->Driver */
|
||||
disp->ClientAPIsString[0] = 0;
|
||||
disp->Initialized = EGL_FALSE;
|
||||
|
||||
/* Reset blob cache funcs on terminate. */
|
||||
disp->BlobCacheSet = NULL;
|
||||
disp->BlobCacheGet = NULL;
|
||||
}
|
||||
|
||||
RETURN_EGL_SUCCESS(disp, EGL_TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue