commit faad1a2
Michael Forney
·
2013-11-23 01:31:02 +0000 UTC
parent d900f0c
plane: Adapt to WLD changes
1 files changed,
+2,
-2
+2,
-2
1@@ -69,7 +69,7 @@ static void * framebuffer_create_buffer(struct swc_plane * plane)
2 goto error1;
3 }
4
5- handle = wld_drm_drawable_get_handle(drawable);
6+ handle = wld_drm_get_handle(drawable);
7
8 if (drmModeAddFB(plane->output->drm->fd, drawable->width, drawable->height,
9 24, 32, drawable->pitch, handle, &buffer->fb_id) != 0)
10@@ -150,7 +150,7 @@ static bool cursor_flip(struct swc_plane * plane)
11 struct swc_output * output = plane->output;
12 struct wld_drawable * drawable
13 = swc_double_buffer_back(&plane->double_buffer);
14- int handle = wld_drm_drawable_get_handle(drawable);
15+ int handle = wld_drm_get_handle(drawable);
16
17 return drmModeSetCursor(plane->output->drm->fd, plane->output->crtc_id,
18 handle, 64, 64) == 0;