mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 22:48:14 +02:00
backend-drm: Remove unnecessary check for fb
Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
e1114228f5
commit
873e32137e
1 changed files with 1 additions and 6 deletions
|
|
@ -90,12 +90,7 @@ drm_output_prepare_overlay_view(struct drm_plane *plane,
|
|||
|
||||
assert(!b->sprites_are_broken);
|
||||
assert(b->atomic_modeset);
|
||||
|
||||
if (!fb) {
|
||||
drm_debug(b, "\t\t\t\t[overlay] not placing view %p on overlay: "
|
||||
" couldn't get fb\n", ev);
|
||||
return NULL;
|
||||
}
|
||||
assert(fb);
|
||||
|
||||
state = drm_output_state_get_plane(output_state, plane);
|
||||
/* we can't have a 'pending' framebuffer as never set one before reaching here */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue