swap upload_frame atomic
This commit is contained in:
parent
22ecdca784
commit
217fa7730a
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ where
|
|||
inner.id,
|
||||
Arc::clone(&inner.frame),
|
||||
(inner.width as _, inner.height as _),
|
||||
inner.upload_frame.load(Ordering::SeqCst),
|
||||
inner.upload_frame.swap(false, Ordering::SeqCst),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue