Mesa (master): st/egl: fix a compile error

Chia-I Wu olv at kemper.freedesktop.org
Sat Jun 25 23:27:30 UTC 2011


Module: Mesa
Branch: master
Commit: ed47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef

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.

---

 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 9a9e6c8..4b8be7b 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;
 }




More information about the mesa-commit mailing list