aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/wlr_renderer.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-15 10:40:55 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-15 15:50:19 +0000
commit4a70172e267b52c20b8bb25b74347b25407c7247 (patch)
tree96cdf4948becf041ba5feef4a945a47a99eb7fdc /include/wlr/render/wlr_renderer.h
parent5451cbd183c4a0b9497f3c95f0463cd7da0234bf (diff)
render: make some wlr_renderer fields private
Diffstat (limited to 'include/wlr/render/wlr_renderer.h')
-rw-r--r--include/wlr/render/wlr_renderer.h10
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;
};
/**