From: Chia-I Wu Date: Sat, 25 Jun 2011 23:02:13 +0000 (+0900) Subject: st/egl: fix a compile error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef;p=mesa.git st/egl: fix a compile error It is triggered when --with-driver=xlib is specified. --- diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c index 9a9e6c82406..4b8be7bc759 100644 --- a/src/gallium/state_trackers/egl/x11/native_dri2.c +++ b/src/gallium/state_trackers/egl/x11/native_dri2.c @@ -936,8 +936,7 @@ x11_create_dri2_display(Display *dpy, struct native_display * x11_create_dri2_display(Display *dpy, - struct native_event_handler *event_handler, - void *user_data) + const struct native_event_handler *event_handler) { return NULL; }