From 67c745644fb84aaf40354177fb795c4a2bd01e30 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 22 Apr 2018 16:48:15 +0200 Subject: [PATCH] egl: drop unused _EGLDriver from SetBlobCacheFuncsANDROID() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Engestrom Reviewed-by: Marek Olšák Part-of: --- src/egl/drivers/dri2/egl_dri2.c | 2 +- src/egl/main/eglapi.c | 2 +- src/egl/main/egldriver.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) 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); }; -- 2.30.2