drm: add ObjectChangeValue
This commit is contained in:
parent
b8d4eeb8e4
commit
e95e764b46
4 changed files with 55 additions and 25 deletions
|
|
@ -252,7 +252,7 @@ impl Backend for MetalBackend {
|
|||
{
|
||||
crtc.active.value.set(!idle);
|
||||
change.change_object(crtc.id, |c| {
|
||||
c.change(crtc.active.id, (!idle) as _);
|
||||
c.change(crtc.active.id, !idle);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue