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>
_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);
}
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");
extern EGLBoolean
-_eglQueryContext(const _EGLDriver *drv, _EGLDisplay *disp, _EGLContext *ctx, EGLint attribute, EGLint *value);
+_eglQueryContext(_EGLContext *ctx, EGLint attribute, EGLint *value);
extern EGLBoolean