From 4a70172e267b52c20b8bb25b74347b25407c7247 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 15 Nov 2022 10:40:55 +0100 Subject: [PATCH] render: make some wlr_renderer fields private --- include/wlr/render/wlr_renderer.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index c95bbe6f8..b9e83734e 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; }; /**