From: Eric Engestrom Date: Mon, 21 May 2018 09:42:10 +0000 (+0100) Subject: egl: drop unused _EGLDisplay from _eglSetDamageRegionKHRClampRects() X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=3ef8aacb60e758d38e13d30fc5613f272bd3ddbd egl: drop unused _EGLDisplay from _eglSetDamageRegionKHRClampRects() Signed-off-by: Eric Engestrom Reviewed-by: Marek Olšák Part-of: --- 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)