diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-15 10:40:55 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-15 15:50:19 +0000 |
commit | 4a70172e267b52c20b8bb25b74347b25407c7247 (patch) | |
tree | 96cdf4948becf041ba5feef4a945a47a99eb7fdc /include/wlr | |
parent | 5451cbd183c4a0b9497f3c95f0463cd7da0234bf (diff) |
render: make some wlr_renderer fields private
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/render/wlr_renderer.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index c95bbe6f..b9e83734 100644 --- a/include/wlr/render/wlr_renderer.h +++ b/include/wlr/render/wlr_renderer.h @@ -24,14 +24,16 @@ struct wlr_fbox; * A renderer for basic 2D operations. */ struct wlr_renderer { + struct { + struct wl_signal destroy; + } events; + + // private state + const struct wlr_renderer_impl *impl; bool rendering; bool rendering_with_buffer; - - struct { - struct wl_signal destroy; - } events; }; /** |