diff options
-rw-r--r-- | src/egl/main/eglapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 1c62a8049e4..44fc0b83fad 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -1602,7 +1602,7 @@ eglGetSyncAttribKHR(EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLint *valu EGLBoolean result; if (!value) - RETURN_EGL_ERROR(NULL, EGL_BAD_PARAMETER, EGL_FALSE); + RETURN_EGL_ERROR(disp, EGL_BAD_PARAMETER, EGL_FALSE); attrib = *value; result = _eglGetSyncAttribCommon(disp, s, attribute, &attrib); |