Hi Emilio,

On 18 January 2017 at 17:43, Emilio Pozuelo Monfort <[email protected]> wrote:
> Based on a patch from John Moser <[email protected]>
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850658
>
> Signed-off-by: Emilio Pozuelo Monfort <[email protected]>
> ---
>  libweston/compositor-rdp.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c
> index 223382ce..16f4c628 100644
> --- a/libweston/compositor-rdp.c
> +++ b/libweston/compositor-rdp.c
> @@ -664,13 +664,21 @@ rdp_peer_context_new(freerdp_peer* client, 
> RdpPeerContext* context)
>         context->rfx_context->mode = RLGR3;
>         context->rfx_context->width = client->settings->DesktopWidth;
>         context->rfx_context->height = client->settings->DesktopHeight;
> +#ifdef PIXEL_FORMAT_BGRA32
> +       rfx_context_set_pixel_format(context->rfx_context, 
> PIXEL_FORMAT_BGRA32);
> +#else
>         rfx_context_set_pixel_format(context->rfx_context, 
> RDP_PIXEL_FORMAT_B8G8R8A8);
> +#endif

And still this fails on Fedora 25. The FreeRDP API is a thing of
absolute magic: https://phabricator.freedesktop.org/P9

Does it build with this patch instead? https://phabricator.freedesktop.org/P10

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to