egl: const _eglDriver
[mesa.git] / src / egl / main / eglsync.c
index b903229ce68432aa90a73c7183dc4b80652bbd42..d0926fce3bbb8fd59541280393cdd2377b38dd6e 100644 (file)
@@ -120,7 +120,7 @@ _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type,
 
 
 EGLBoolean
-_eglGetSyncAttrib(_EGLDriver *drv, _EGLDisplay *disp, _EGLSync *sync,
+_eglGetSyncAttrib(const _EGLDriver *drv, _EGLDisplay *disp, _EGLSync *sync,
                   EGLint attribute, EGLAttrib *value)
 {
    switch (attribute) {