diff options
author | Kristian Høgsberg <[email protected]> | 2012-07-19 16:07:55 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-07-19 16:11:06 -0400 |
commit | a8c092266e9885f3370bbeae15bd80ebf035d05d (patch) | |
tree | 081cc1f9719bc31a92570ef9d6a7656b37b8b0bc /src/gallium/state_trackers/egl/drm | |
parent | fbe3fa74e5cdaf02f3738da7d6052e1f1fd7bbf2 (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/drm')
-rw-r--r-- | src/gallium/state_trackers/egl/drm/native_drm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/drm/native_drm.c b/src/gallium/state_trackers/egl/drm/native_drm.c index 3c4c19f1c17..feb1dc045bf 100644 --- a/src/gallium/state_trackers/egl/drm/native_drm.c +++ b/src/gallium/state_trackers/egl/drm/native_drm.c @@ -240,7 +240,8 @@ drm_display_unbind_wayland_display(struct native_display *ndpy, static struct native_display_wayland_bufmgr drm_display_wayland_bufmgr = { drm_display_bind_wayland_display, drm_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 */ |