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
|
@ -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…
Reference in New Issue