egl: drop unused _EGLDriver & _EGLDisplay from _eglQueryContext()

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6241>
This commit is contained in:
Eric Engestrom 2020-08-03 17:03:44 +02:00 committed by Marge Bot
parent 3ef8aacb60
commit b981babb93
3 changed files with 3 additions and 7 deletions

View File

@ -898,7 +898,7 @@ eglQueryContext(EGLDisplay dpy, EGLContext ctx,
_EGL_CHECK_CONTEXT(disp, context, EGL_FALSE, drv);
ret = _eglQueryContext(drv, disp, context, attribute, value);
ret = _eglQueryContext(context, attribute, value);
RETURN_EGL_EVAL(disp, ret);
}

View 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");

View File

@ -74,7 +74,7 @@ _eglInitContext(_EGLContext *ctx, _EGLDisplay *disp,
extern EGLBoolean
_eglQueryContext(const _EGLDriver *drv, _EGLDisplay *disp, _EGLContext *ctx, EGLint attribute, EGLint *value);
_eglQueryContext(_EGLContext *ctx, EGLint attribute, EGLint *value);
extern EGLBoolean