rpi: Don't assign planes for surfaces with transformed buffers
Reported-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
409eebf34f
commit
3050d8fa94
@@ -752,6 +752,12 @@ rpi_assign_plane(struct weston_surface *surface, struct rpi_output *output)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (surface->buffer_transform != WL_OUTPUT_TRANSFORM_NORMAL) {
|
||||
DBG("surface %p rejected: unsupported buffer transform\n",
|
||||
surface);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* check if this surface previously belonged to an element */
|
||||
element = find_rpi_element_from_surface(surface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user