From a8c092266e9885f3370bbeae15bd80ebf035d05d Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Thu, 19 Jul 2012 16:07:55 -0400 Subject: gallium-egl: Move wayland query_buffer implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move it to native_wayland_drm_bufmgr_helper.c which only gets compiled when wayland is enabled and which already includes the right headers. Signed-off-by: Kristian Høgsberg --- src/gallium/state_trackers/egl/x11/native_dri2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/egl/x11') diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c index 5d7d3796e2b..70ae0f98443 100644 --- a/src/gallium/state_trackers/egl/x11/native_dri2.c +++ b/src/gallium/state_trackers/egl/x11/native_dri2.c @@ -890,7 +890,8 @@ dri2_display_unbind_wayland_display(struct native_display *ndpy, static struct native_display_wayland_bufmgr dri2_display_wayland_bufmgr = { dri2_display_bind_wayland_display, dri2_display_unbind_wayland_display, - egl_g3d_wl_drm_common_wl_buffer_get_resource + egl_g3d_wl_drm_common_wl_buffer_get_resource, + egl_g3d_wl_drm_common_query_buffer }; #endif /* HAVE_WAYLAND_BACKEND */ -- cgit v1.2.3