autocommit 2022-02-09 18:28:39 CET
This commit is contained in:
parent
84d89afbde
commit
83c3fb99f9
11 changed files with 120 additions and 17 deletions
|
|
@ -66,7 +66,6 @@ impl OutBufferSwapchain {
|
|||
pub fn commit(&mut self) {
|
||||
if self.cur.write_pos > 0 {
|
||||
let new = self.free.pop().unwrap_or_else(|| {
|
||||
log::warn!("new buffer");
|
||||
Default::default()
|
||||
});
|
||||
let old = mem::replace(&mut self.cur, new);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue