On Tue, 27 Nov 2012 17:34:52 +0200
Ander Conselvan de Oliveira <ander.conselvan.de.olive...@intel.com> wrote:

> Reported-by: Pekka Paalanen <ppaala...@gmail.com>
> ---
> Hi,
> 
> Pekka noted that we also need this for correctness.

Looking good. Thanks!
- pq

>  src/compositor-rpi.c |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/src/compositor-rpi.c b/src/compositor-rpi.c
> index c75bcda..8555d24 100644
> --- a/src/compositor-rpi.c
> +++ b/src/compositor-rpi.c
> @@ -787,6 +787,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);
>  
> -- 
> 1.7.10.4
> 
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to