egl: drop unused _EGLDriver & _EGLDisplay from _eglQueryContext()
[mesa.git] / src / egl / main / eglcontext.c
index 63035a3312e3f4047004294f13115b8d7de43d40..65dc886abbb0fc53ac95090cd6a358e6e97ddac4 100644 (file)
@@ -671,12 +671,8 @@ _eglQueryContextRenderBuffer(_EGLContext *ctx)
 
 
 EGLBoolean
-_eglQueryContext(const _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");