From: Eric Engestrom Date: Sun, 22 Apr 2018 14:48:15 +0000 (+0200) Subject: egl: drop unused _EGLDriver from SetBlobCacheFuncsANDROID() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67c745644fb84aaf40354177fb795c4a2bd01e30;p=mesa.git egl: drop unused _EGLDriver from SetBlobCacheFuncsANDROID() Signed-off-by: Eric Engestrom Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index a150f46bc86..454ef05dbe5 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -3467,7 +3467,7 @@ dri2_dup_native_fence_fd(_EGLDisplay *disp, _EGLSync *sync) } static void -dri2_set_blob_cache_funcs(const _EGLDriver *drv, _EGLDisplay *disp, +dri2_set_blob_cache_funcs(_EGLDisplay *disp, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get) { diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 39e1ca2c7e0..deeee566e36 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -2633,7 +2633,7 @@ eglSetBlobCacheFuncsANDROID(EGLDisplay *dpy, EGLSetBlobFuncANDROID set, disp->BlobCacheSet = set; disp->BlobCacheGet = get; - drv->SetBlobCacheFuncsANDROID(drv, disp, set, get); + drv->SetBlobCacheFuncsANDROID(disp, set, get); _eglUnlockDisplay(disp); } diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index 933dd742274..d4fa5aab145 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -190,9 +190,9 @@ struct _egl_driver EGLBoolean *external_only, EGLint *num_modifiers); - void (*SetBlobCacheFuncsANDROID) (const _EGLDriver *drv, _EGLDisplay *disp, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get); + void (*SetBlobCacheFuncsANDROID)(_EGLDisplay *disp, + EGLSetBlobFuncANDROID set, + EGLGetBlobFuncANDROID get); };