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>
This commit is contained in:
parent
5d767416c1
commit
94698d2a83
@ -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…
Reference in New Issue
Block a user