summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland-glamor-eglstream.c
diff options
context:
space:
mode:
authorErik Kurzinger <ekurzinger@nvidia.com>2021-01-07 07:00:33 -0800
committerErik Kurzinger <ekurzinger@nvidia.com>2021-01-08 06:17:51 -0800
commita9269808f394955f213e34303c2c14fd61c35ab5 (patch)
treeb518ddebbc29d3ed0344c9861ef63485df0985aa /hw/xwayland/xwayland-glamor-eglstream.c
parent532245798085a67b5ff906778f88373d5bcd2e4c (diff)
downloadxserver-a9269808f394955f213e34303c2c14fd61c35ab5.tar.gz
xwayland: remove unused parameter of xwl_glamor_pixmap_get_wl_buffer
There are currently no callers that make use of the "created" output parameter of xwl_glamor_pixmap_get_wl_buffer. Remove it, along with the corresponding argument of the associated EGL backend entrypoint.
Diffstat (limited to 'hw/xwayland/xwayland-glamor-eglstream.c')
-rw-r--r--hw/xwayland/xwayland-glamor-eglstream.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/xwayland/xwayland-glamor-eglstream.c b/hw/xwayland/xwayland-glamor-eglstream.c
index c99d70744..9b2c2c43f 100644
--- a/hw/xwayland/xwayland-glamor-eglstream.c
+++ b/hw/xwayland/xwayland-glamor-eglstream.c
@@ -331,10 +331,8 @@ xwl_glamor_eglstream_destroy_pixmap(PixmapPtr pixmap)
}
static struct wl_buffer *
-xwl_glamor_eglstream_get_wl_buffer_for_pixmap(PixmapPtr pixmap,
- Bool *created)
+xwl_glamor_eglstream_get_wl_buffer_for_pixmap(PixmapPtr pixmap)
{
- /* XXX created? */
return xwl_pixmap_get(pixmap)->buffer;
}