mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 12:38:03 +02:00
drm: Don't use weston_view in drm_fb_get_from_paint_node
We have no need for a weston_view here. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
3c53883d78
commit
96676d114c
1 changed files with 1 additions and 2 deletions
|
|
@ -746,8 +746,7 @@ drm_fb_get_from_paint_node(struct drm_output_state *state,
|
|||
struct drm_backend *b = output->backend;
|
||||
struct drm_device *device = output->device;
|
||||
struct weston_surface *surface = pnode->surface;
|
||||
struct weston_view *ev = pnode->view;
|
||||
struct weston_buffer *buffer = ev->surface->buffer_ref.buffer;
|
||||
struct weston_buffer *buffer = surface->buffer_ref.buffer;
|
||||
struct drm_fb_private *private;
|
||||
struct drm_buffer_fb *buf_fb;
|
||||
bool is_opaque = pnode->is_fully_opaque;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue