diff options
author | Marek Olšák <[email protected]> | 2015-05-12 18:14:31 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-06-05 19:44:33 +0200 |
commit | 1e79e054e7dff0c45538fff1257e1f81a206d7c9 (patch) | |
tree | a1b8ff495c0d76cc31c65838e8ee2f24f2ba6acb /src/egl/main/eglsync.c | |
parent | 7524592da6305d52e95d718691d5a6665738aade (diff) |
egl: add eglGetSyncAttrib (v2)
v2: - don't modify "value" in eglGetSyncAttribKHR after an error
- rename _egl_api::GetSyncAttribKHR -> GetSyncAttrib
- rename GetSyncAttribKHR_t -> GetSyncAttrib_t
- rename _eglGetSyncAttribKHR to _eglGetSyncAttrib
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/main/eglsync.c')
-rw-r--r-- | src/egl/main/eglsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/eglsync.c b/src/egl/main/eglsync.c index 205cdc04581..3019e6e9333 100644 --- a/src/egl/main/eglsync.c +++ b/src/egl/main/eglsync.c @@ -141,8 +141,8 @@ _eglInitSync(_EGLSync *sync, _EGLDisplay *dpy, EGLenum type, EGLBoolean -_eglGetSyncAttribKHR(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, - EGLint attribute, EGLint *value) +_eglGetSyncAttrib(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, + EGLint attribute, EGLAttrib *value) { if (!value) return _eglError(EGL_BAD_PARAMETER, "eglGetSyncAttribKHR"); |