aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2016-11-16 22:29:53 +0000
committerTapani Pälli <[email protected]>2016-11-17 09:33:25 +0200
commit9702f9136646acc6981880faa3962a11aab1a603 (patch)
tree6498306371f16e336fd34d9cdd3f57dd9cb1a785 /src/egl/main
parent8b780a543a39b6c2f971b074aff3c1d5d902b9b0 (diff)
egl: fix helper function name
I introduced this code last month, but didn't follow the naming convention. Fix this. Fixes: 0a606a400fe382a9bc72 ("egl: add eglSwapBuffersWithDamageKHR") Reviewed-by: Tapani Pälli <[email protected]> Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglapi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 53340bf7cf9..4a4431534ff 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -1195,8 +1195,8 @@ eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
static EGLBoolean
-eglSwapBuffersWithDamageCommon(_EGLDisplay *disp, _EGLSurface *surf,
- EGLint *rects, EGLint n_rects)
+_eglSwapBuffersWithDamageCommon(_EGLDisplay *disp, _EGLSurface *surf,
+ EGLint *rects, EGLint n_rects)
{
_EGLContext *ctx = _eglGetCurrentContext();
_EGLDriver *drv;
@@ -1224,7 +1224,7 @@ eglSwapBuffersWithDamageEXT(EGLDisplay dpy, EGLSurface surface,
_EGLDisplay *disp = _eglLockDisplay(dpy);
_EGLSurface *surf = _eglLookupSurface(surface, disp);
_EGL_FUNC_START(disp, EGL_OBJECT_SURFACE_KHR, surf, EGL_FALSE);
- return eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
+ return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
}
static EGLBoolean EGLAPIENTRY
@@ -1234,7 +1234,7 @@ eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface surface,
_EGLDisplay *disp = _eglLockDisplay(dpy);
_EGLSurface *surf = _eglLookupSurface(surface, disp);
_EGL_FUNC_START(disp, EGL_OBJECT_SURFACE_KHR, surf, EGL_FALSE);
- return eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
+ return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
}
EGLBoolean EGLAPIENTRY