summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/x11
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-19 16:07:55 -0400
committerKristian Høgsberg <[email protected]>2012-07-19 16:11:06 -0400
commita8c092266e9885f3370bbeae15bd80ebf035d05d (patch)
tree081cc1f9719bc31a92570ef9d6a7656b37b8b0bc /src/gallium/state_trackers/egl/x11
parentfbe3fa74e5cdaf02f3738da7d6052e1f1fd7bbf2 (diff)
gallium-egl: Move wayland query_buffer implementation
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/egl/x11')
-rw-r--r--src/gallium/state_trackers/egl/x11/native_dri2.c3
1 files changed, 2 insertions, 1 deletions
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 */