[PATCH] xwayland: fix typo in non-modifier fallback path
Olivier Fourdan
ofourdan at redhat.com
Tue May 29 07:06:27 UTC 2018
On Tue, May 29, 2018 at 2:39 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> Pointed out on irc by q66.
> ---
> hw/xwayland/xwayland-glamor-gbm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/xwayland/xwayland-glamor-gbm.c
> b/hw/xwayland/xwayland-glamor-gbm.c
> index 29325adac..68c2cc32e 100644
> --- a/hw/xwayland/xwayland-glamor-gbm.c
> +++ b/hw/xwayland/xwayland-glamor-gbm.c
> @@ -272,7 +272,7 @@ xwl_glamor_gbm_get_wl_buffer_for_pixmap(PixmapPtr
> pixmap,
> #else
> num_planes = 1;
> modifier = DRM_FORMAT_MOD_INVALID;
> - strides[0] = gbm_go_get_stride(xwl_pixmap->bo);
> + strides[0] = gbm_bo_get_stride(xwl_pixmap->bo);
> offsets[0] = 0;
> #endif
>
> --
> 2.17.0
>
>
Huhu, indeed!
First introduced with commit c8c276c95 then later moved to
xwayland-glamor-gbm.c
by commit 1545e2dbad
Reviewed-by: Olivier Fourdan <ofourdan at redhat.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180529/74ad08ac/attachment.html>
More information about the xorg-devel
mailing list