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:
parent
3ef8aacb60
commit
b981babb93
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue