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/wayland | |
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/wayland')
-rw-r--r-- | src/gallium/state_trackers/egl/wayland/native_drm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c index e3bd628675e..006b3d507af 100644 --- a/src/gallium/state_trackers/egl/wayland/native_drm.c +++ b/src/gallium/state_trackers/egl/wayland/native_drm.c @@ -290,7 +290,8 @@ wayland_drm_display_unbind_wayland_display(struct native_display *ndpy, static struct native_display_wayland_bufmgr wayland_drm_display_wayland_bufmgr = { wayland_drm_display_bind_wayland_display, wayland_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 }; |