From 52aa06a2cd3c36746bc6dc5e7f50b0b90b31a003 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 26 Jun 2011 08:02:13 +0900 Subject: [PATCH] st/egl: fix a compile error It is triggered when --with-driver=xlib is specified. (cherry picked from commit ed47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef) --- src/gallium/state_trackers/egl/x11/native_dri2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c index 2a3a1062544..60bbb412a12 100644 --- a/src/gallium/state_trackers/egl/x11/native_dri2.c +++ b/src/gallium/state_trackers/egl/x11/native_dri2.c @@ -922,8 +922,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; }