render: make some wlr_renderer fields private

Simon Ser 2 years ago committed by Simon Zeni
parent 5451cbd183
commit 4a70172e26

@ -24,14 +24,16 @@ struct wlr_fbox;
* A renderer for basic 2D operations. * A renderer for basic 2D operations.
*/ */
struct wlr_renderer { struct wlr_renderer {
struct {
struct wl_signal destroy;
} events;
// private state
const struct wlr_renderer_impl *impl; const struct wlr_renderer_impl *impl;
bool rendering; bool rendering;
bool rendering_with_buffer; bool rendering_with_buffer;
struct {
struct wl_signal destroy;
} events;
}; };
/** /**

Loading…
Cancel
Save