egl: inline eglSwapInterval() fallback
[mesa.git] / src / egl / main / eglcontext.c
index bb11b8f910415b43a773e18876391fd7a8f40dba..65dc886abbb0fc53ac95090cd6a358e6e97ddac4 100644 (file)
@@ -671,12 +671,8 @@ _eglQueryContextRenderBuffer(_EGLContext *ctx)
 
 
 EGLBoolean
-_eglQueryContext(_EGLDriver *drv, _EGLDisplay *disp, _EGLContext *c,
-                 EGLint attribute, EGLint *value)
+_eglQueryContext(_EGLContext *c, EGLint attribute, EGLint *value)
 {
-   (void) drv;
-   (void) disp;
-
    if (!value)
       return _eglError(EGL_BAD_PARAMETER, "eglQueryContext");