egl: Drop dpy argument from the link functions.
[mesa.git] / src / egl / main / eglcontext.h
index 148f160cae0603238d163bf731bbeacb2f14e773..c2b8280b6703df16be9076c89c319be678446498 100644 (file)
@@ -56,13 +56,13 @@ _eglIsContextBound(_EGLContext *ctx)
 
 
 /**
- * Link a context to a display and return the handle of the link.
+ * Link a context to its display and return the handle of the link.
  * The handle can be passed to client directly.
  */
 static INLINE EGLContext
-_eglLinkContext(_EGLContext *ctx, _EGLDisplay *dpy)
+_eglLinkContext(_EGLContext *ctx)
 {
-   _eglLinkResource(&ctx->Resource, _EGL_RESOURCE_CONTEXT, dpy);
+   _eglLinkResource(&ctx->Resource, _EGL_RESOURCE_CONTEXT);
    return (EGLContext) ctx;
 }