diff options
author | Erik Kurzinger <ekurzinger@nvidia.com> | 2021-01-07 07:00:33 -0800 |
---|---|---|
committer | Erik Kurzinger <ekurzinger@nvidia.com> | 2021-01-08 06:17:51 -0800 |
commit | a9269808f394955f213e34303c2c14fd61c35ab5 (patch) | |
tree | b518ddebbc29d3ed0344c9861ef63485df0985aa /hw/xwayland/xwayland-glamor-eglstream.c | |
parent | 532245798085a67b5ff906778f88373d5bcd2e4c (diff) | |
download | xserver-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.c | 4 |
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; } |