libweston/compositor-drm: No need to test for invalid alpha for the view

This is redundant and is already being checked drm_fb_get_from_view()

Signed-off-by: Marius Vlad <marius.vlad0@gmail.com>
dev
Marius Vlad 6 years ago
parent 5d767416c1
commit 94698d2a83
  1. 3
      libweston/compositor-drm.c

@ -2008,9 +2008,6 @@ drm_output_prepare_scanout_view(struct drm_output_state *output_state,
extents->y2 != output->base.y + output->base.height)
return NULL;
if (ev->alpha != 1.0f)
return NULL;
fb = drm_fb_get_from_view(output_state, ev);
if (!fb)
return NULL;

Loading…
Cancel
Save