Mesa (7.11): st/egl: fix a compile error
Chia-I Wu
olv at kemper.freedesktop.org
Thu Jun 30 06:24:48 UTC 2011
Module: Mesa
Branch: 7.11
Commit: 52aa06a2cd3c36746bc6dc5e7f50b0b90b31a003
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52aa06a2cd3c36746bc6dc5e7f50b0b90b31a003
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Sun Jun 26 08:02:13 2011 +0900
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 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 2a3a106..60bbb41 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;
}
More information about the mesa-commit
mailing list