diff options
author | emersion <contact@emersion.fr> | 2018-06-11 08:13:35 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-11 08:13:35 +0100 |
commit | 38d415dd2047114badd6a9f65dab6fe0b5b8e5d0 (patch) | |
tree | 6ddd2acb2e0ca959524ee2d9a336c72be0d879b5 /include/wlr | |
parent | 9ea5b1a85ee5ce75f56d651189c5396a52b52df0 (diff) |
buffer: make wlr_buffer_ref return the buffer
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index c57d79ed..fc348a1c 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -36,7 +36,7 @@ struct wlr_buffer *wlr_buffer_create(struct wlr_renderer *renderer, /** * Reference the buffer. */ -void wlr_buffer_ref(struct wlr_buffer *buffer); +struct wlr_buffer *wlr_buffer_ref(struct wlr_buffer *buffer); /** * Unreference the buffer. After this call, `buffer` may not be accessed * anymore. |