mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 12:28:04 +02:00
libweston: Fix up the paint node status bitfield
Pretty cosmetic right now, but make the ALL_DIRTY only contain set bits, and fix the accidentally sparse bitfield. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
6ba7e57c1c
commit
3791e370d4
1 changed files with 3 additions and 3 deletions
|
|
@ -506,9 +506,9 @@ weston_compositor_destroy_touch_calibrator(struct weston_compositor *compositor)
|
|||
|
||||
enum paint_node_status {
|
||||
PAINT_NODE_CLEAN = 0,
|
||||
PAINT_NODE_OUTPUT_DIRTY = 1 << 1,
|
||||
PAINT_NODE_VIEW_DIRTY = 1 << 2,
|
||||
PAINT_NODE_ALL_DIRTY = 0xf,
|
||||
PAINT_NODE_OUTPUT_DIRTY = 1 << 0,
|
||||
PAINT_NODE_VIEW_DIRTY = 1 << 1,
|
||||
PAINT_NODE_ALL_DIRTY = (1 << 2) - 1,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue