X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fegl%2Fmain%2Feglcontext.c;h=65dc886abbb0fc53ac95090cd6a358e6e97ddac4;hp=63035a3312e3f4047004294f13115b8d7de43d40;hb=b981babb937b4355c5c1d2415d95e725ba18e659;hpb=3ef8aacb60e758d38e13d30fc5613f272bd3ddbd diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index 63035a3312e..65dc886abbb 100644 --- a/src/egl/main/eglcontext.c +++ b/src/egl/main/eglcontext.c @@ -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");