st/egl: fix a compile error
authorChia-I Wu <olvaffe@gmail.com>
Sat, 25 Jun 2011 23:02:13 +0000 (08:02 +0900)
committerChia-I Wu <olv@lunarg.com>
Sat, 25 Jun 2011 23:16:59 +0000 (08:16 +0900)
It is triggered when --with-driver=xlib is specified.

src/gallium/state_trackers/egl/x11/native_dri2.c

index 9a9e6c82406a884c4755f6780bad5f9cea1468a7..4b8be7bc7593f621019666c0b9935bd0381df9b5 100644 (file)
@@ -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;
 }