diff options
author | Chia-I Wu <[email protected]> | 2010-10-23 00:37:19 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-23 11:20:40 +0800 |
commit | 4ce33ec606292d92eff5afad6f50e1acc7109729 (patch) | |
tree | 15e73d4462dac92bcef2ed4a1687f425f3f66915 /src/egl/main/eglsync.h | |
parent | 07cd8f46acc34b04308f81de2faf05ba33da264b (diff) |
egl: Drop dpy argument from the link functions.
All display resources are already initialized with a display. Linking
simply links a resource to its display.
Diffstat (limited to 'src/egl/main/eglsync.h')
-rw-r--r-- | src/egl/main/eglsync.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/main/eglsync.h b/src/egl/main/eglsync.h index 052d0166813..09d799ba5f1 100644 --- a/src/egl/main/eglsync.h +++ b/src/egl/main/eglsync.h @@ -34,13 +34,13 @@ _eglGetSyncAttribKHR(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, /** - * Link a sync to a display and return the handle of the link. + * Link a sync to its display and return the handle of the link. * The handle can be passed to client directly. */ static INLINE EGLSyncKHR -_eglLinkSync(_EGLSync *sync, _EGLDisplay *dpy) +_eglLinkSync(_EGLSync *sync) { - _eglLinkResource(&sync->Resource, _EGL_RESOURCE_SYNC, dpy); + _eglLinkResource(&sync->Resource, _EGL_RESOURCE_SYNC); return (EGLSyncKHR) sync; } |