egl: drop unused _EGLDriver from QueryBufferAge()
[mesa.git] / src / egl / drivers / dri2 / platform_drm.c
index d0b6929e83623cc3d9f8bca2e82d08c5aef61677..a0760dfebbb0b81f4d11e4d0791bbc78ec295042 100644 (file)
@@ -446,8 +446,7 @@ dri2_drm_swap_buffers(_EGLDisplay *disp, _EGLSurface *draw)
 }
 
 static EGLint
-dri2_drm_query_buffer_age(const _EGLDriver *drv,
-                          _EGLDisplay *disp, _EGLSurface *surface)
+dri2_drm_query_buffer_age(_EGLDisplay *disp, _EGLSurface *surface)
 {
    struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surface);