summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-06-26 08:02:13 +0900
committerChia-I Wu <[email protected]>2011-06-26 08:16:59 +0900
commited47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef (patch)
tree6f888fda3d17b8102a9355fc40923f5abbc7333c /src/gallium/state_trackers
parent56ec8e17d3a132cd43a3d75a653a034b05cbd918 (diff)
st/egl: fix a compile error
It is triggered when --with-driver=xlib is specified.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/egl/x11/native_dri2.c3
1 files changed, 1 insertions, 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 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;
}