commit faad1a2a3d23143973e192a2f6ebebf5a1e37aea
parent d900f0c342cf58813ae759d7ee44d504c80a84d1
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 22 Nov 2013 17:31:02 -0800
plane: Adapt to WLD changes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswc/plane.c b/libswc/plane.c
@@ -69,7 +69,7 @@ static void * framebuffer_create_buffer(struct swc_plane * plane)
goto error1;
}
- handle = wld_drm_drawable_get_handle(drawable);
+ handle = wld_drm_get_handle(drawable);
if (drmModeAddFB(plane->output->drm->fd, drawable->width, drawable->height,
24, 32, drawable->pitch, handle, &buffer->fb_id) != 0)
@@ -150,7 +150,7 @@ static bool cursor_flip(struct swc_plane * plane)
struct swc_output * output = plane->output;
struct wld_drawable * drawable
= swc_double_buffer_back(&plane->double_buffer);
- int handle = wld_drm_drawable_get_handle(drawable);
+ int handle = wld_drm_get_handle(drawable);
return drmModeSetCursor(plane->output->drm->fd, plane->output->crtc_id,
handle, 64, 64) == 0;