mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
render: make some wlr_renderer fields private
This commit is contained in:
parent
5451cbd183
commit
4a70172e26
1 changed files with 6 additions and 4 deletions
|
@ -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…
Reference in a new issue