st/egl: fix a compile error

It is triggered when --with-driver=xlib is specified.
(cherry picked from commit ed47d65c7c)
This commit is contained in:
Chia-I Wu 2011-06-26 08:02:13 +09:00 committed by Chia-I Wu
parent 5d1561b4ab
commit 52aa06a2cd

View file

@ -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;
}