diff options
author | eri <eri@inventati.org> | 2023-10-19 18:04:59 +0200 |
---|---|---|
committer | eri <eri@inventati.org> | 2023-10-19 18:19:38 +0200 |
commit | c46d3da97685fb5314948f9467d3627671e83738 (patch) | |
tree | e54d31f69959fc5668fa68ad4066d63f513088fa /include/wlr | |
parent | 8ccbe45143eff1705c0516bcdb02376d7d627198 (diff) |
drm: convert to try_from
References: wlroots/wlroots#884
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_drm.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_drm.h b/include/wlr/types/wlr_drm.h index da776fdb..d28c7b8f 100644 --- a/include/wlr/types/wlr_drm.h +++ b/include/wlr/types/wlr_drm.h @@ -45,9 +45,7 @@ struct wlr_drm { struct wl_listener display_destroy; }; -bool wlr_drm_buffer_is_resource(struct wl_resource *resource); - -struct wlr_drm_buffer *wlr_drm_buffer_from_resource( +struct wlr_drm_buffer *wlr_drm_buffer_try_from_resource( struct wl_resource *resource); struct wlr_drm *wlr_drm_create(struct wl_display *display, |