summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-05-29 10:39:22 +1000
committerMichel Dänzer <michel@daenzer.net>2018-06-08 11:17:07 +0200
commit6300049a9a4b84789a2e8141f5cad17adf22185c (patch)
tree470dc2163ec943d67c09978b8f1ff681378665ff
parent40586cc4f8faa271d62fd84fe98c41debb878984 (diff)
xwayland: fix typo in non-modifier fallback path
Pointed out on irc by q66. Reviewed-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r--hw/xwayland/xwayland-glamor-gbm.c2
1 files changed, 1 insertions, 1 deletions
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