gallium-egl: Fix compile errors introduced in de315f76a
[mesa.git] / src / gallium / state_trackers / egl / x11 / native_dri2.c
index a989f9e9108b35f34b114018d80f55c3904af433..fc18a4c9d7a917ed86bddeebc3b818c82206198d 100644 (file)
@@ -861,7 +861,7 @@ dri2_display_bind_wayland_display(struct native_display *ndpy,
 
    dri2dpy->wl_server_drm = wayland_drm_init(wl_dpy,
          x11_screen_get_device_name(dri2dpy->xscr),
-         &wl_drm_callbacks, ndpy);
+         &wl_drm_callbacks, ndpy, 0);
 
    if (!dri2dpy->wl_server_drm)
       return FALSE;