From 3ef8aacb60e758d38e13d30fc5613f272bd3ddbd Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 21 May 2018 10:42:10 +0100 Subject: [PATCH] egl: drop unused _EGLDisplay from _eglSetDamageRegionKHRClampRects() 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/main/eglapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 210b5a8bbc1..dd5fe1b1ea3 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -1408,7 +1408,7 @@ eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface surface, */ static void -_eglSetDamageRegionKHRClampRects(_EGLDisplay* disp, _EGLSurface* surf, +_eglSetDamageRegionKHRClampRects(_EGLSurface* surf, EGLint *rects, EGLint n_rects) { EGLint i; @@ -1455,7 +1455,7 @@ eglSetDamageRegionKHR(EGLDisplay dpy, EGLSurface surface, if (surf->SetDamageRegionCalled || !surf->BufferAgeRead) RETURN_EGL_ERROR(disp, EGL_BAD_ACCESS, EGL_FALSE); - _eglSetDamageRegionKHRClampRects(disp, surf, rects, n_rects); + _eglSetDamageRegionKHRClampRects(surf, rects, n_rects); ret = drv->SetDamageRegion(disp, surf, rects, n_rects); if (ret) -- 2.30.2