render: make some wlr_renderer fields private

This commit is contained in:
Simon Ser 2022-11-15 10:40:55 +01:00 committed by Simon Zeni
parent 5451cbd183
commit 4a70172e26
1 changed files with 6 additions and 4 deletions

View File

@ -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;
};
/**